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

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to