Re: Windows 2000-Apache PHP installation problems

From: Date: Sat, 24 Mar 2001 06:25:34 +0000
Subject: Re: Windows 2000-Apache PHP installation problems
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2575@lists.php.net to get a copy of this message
Same thing. php4_module loads successfully but Apache doesn't parse php files at all. Could anyone please give exact instructions how to install php as Apache module under Win2K Thanks in advance, Gleb <speedoflight@runbox.com> wrote in message news:E14dP9x-0006cO-00@pluto.runbox.com... 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: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#2575) next »