Windows 2000-Apache PHP installation problems
| From: | speedoflight at runbox dot com | Date: | Thu, 15 Mar 2001 04:14:44 +0000 |
| Subject: | Windows 2000-Apache PHP installation problems | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2401@lists.php.net to get a copy of this message | ||
I have Apache running on my Win 2000 box. I am having a problem with my PHP installation. I've
tried to follow the instructions on the install.txt file but still can't make PHP work.
After I make changes to the httpd.conf file, as I try to do a stop/start for Apache. Unfortunately,
after these changes are made, Apache refuses to start up. It works fine if I remove these additions
to the httpd.conf file.
This is what I added into my httpd.conf file.
# for the apache module
LoadModule php4_module D:\php\sapi\php4apache.dll
AddType application/x-httpd-php .php4
#for the cgi binary (you can use that one compiled with force cgi redirect too)
ScriptAlias /php4/ "D:\php\"
Action application/x-httpd-php4 "\php4\php.exe"
AddType application/x-httpd-php4 .php
I have also tried this. But it fails as well:
# for the apache module
LoadModule php4_module D:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4
#for the cgi binary (you can use that one compiled with force cgi redirect too)
ScriptAlias /php4/ "D:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
I have move php4ts.dll to the windows/system(32) directory. I have also put php.ini in the
Window's directory (on Win 2000), it's called WINNT.
I am pretty sure I did something wrong for Apache to behave this way. I am no expert on Win 2000, so
please help me.
Thanks much.
-----------------------------------------------
Runbox Mail Manager - www.runbox.com
Free online email application