PHP 4.3.4 on Apache 1.3.29 for Win2K
| From: | Alvarez, Anthony | Date: | Fri, 05 Mar 2004 22:15:33 +0000 |
| Subject: | PHP 4.3.4 on Apache 1.3.29 for Win2K | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12903@lists.php.net to get a copy of this message | ||
I need help to configure PHP 4.3.4 with Apache 1.3.29 on Windows 2000 SP4.
I tried to modify Apache's Httpd.conf both ways to no avail.
Restarting the server did not change anything either.
Option 1:
ScriptAlias /php/ "z:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Option 1 will cause Apache to issue forbidden error message when opening
http://localhost/php/anyfile.name
Apache Error message text: "Forbidden, You don't have
permission to access /php/ on this server."
Option 2:
LoadModule php4_module z:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Option 2 will cause Apache not to restart.
Any clues? Please advise. Thank you.
===
Anthony Alvarez, AAlvarez@casio.com
Phone: (973) 361-5400 x1309
Casio Internet Marketing Dept.
570 Mount Pleasant Avenue
Dover, NJ 07801-1620 USA