Configuring W2K Pro/Apache32/PHP4
| From: | Jason Bouwmeester | Date: | Fri, 03 Nov 2000 16:32:22 +0000 |
| Subject: | Configuring W2K Pro/Apache32/PHP4 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23594@lists.php.net to get a copy of this message | ||
Hey all,
I have installed Apache32 on my W2K Professional system, and then I ran the
PHP4 installer. I used the following URLs for reference:
http://php.weblogs.com/apache_windows
http://php.weblogs.com/easywindows
My Apache install path is D:\Apache
My PHP install path is D:\Apache\PHP
I added the following to httpd.conf:
ScriptAlias /php4/ "D:/Apache/PHP/"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .phtml
Action application/x-httpd-php4 "/PHP/php.exe"
This returns a 404 Page Not Found error when I try to hit a PHP page.
When I change the last line to:
Action application/x-httpd-php4 "D:/Apache/PHP/php.exe"
I get a 400 Bad Request error.
I have Apache running as a service and I restarted the service after each
change that I made. Is there something I am blatantly missing?
Thanks,
jb
Jason Bouwmeester
New Media Consultant
InterVisual
Suite 200, 709 - 11th Ave SW
Calgary, AB T2R 0E3
Ph: 403.264.9199
Fax: 403.264.9225
www.intervisual.com
"Internet Solutions Developer"