note 5024 deleted from install.windows by irc-html
| From: | irc-html@php.net | Date: | Wed, 02 Jan 2002 04:32:39 +0000 |
| Subject: | note 5024 deleted from install.windows by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24142@lists.php.net to get a copy of this message | ||
WinNT/Apache/PHP3 install solved!
Add me to the list of users that suffered greatly trying to get this to work. :-( I believe
something in php/apache is case sensitive. I tried to install to C:\Apache\php3 to no avail.
Moving to C:\php3 solved my problem. This has to be the most painful install I have ever had the
misfortune of suffering.
<pre>
1) Here are my changes to c:\winnt\php3.ini:
(I enabled LDAP extension)
extension_dir = "c:\php3"
extension=php3_ldap.dll
2) Install php3 to C:\php3
3) My Apache is installed to C:\Apache
4) Changes to C:\Apache\conf\httpd.conf:
ScriptAlias /php3/ "C:/php3/"
AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3-source .phps
Action application/x-httpd-php3 "/php3/php.exe"
5) Test file in C:\Apache\htdocs\test.phtml:
(assuming you use default document root)
<html>
<head>
<title>Example</title>
</head>
<body>
<?php echo "Hi, I'm a PHP script!"; ?>
</body>
</html>
6) Test it by setting browser to:
(substitute 'localhost' as needed if testing remotely)
http://localhost/test.pthml
GOOD LUCK!
</pre>