PHP and Apache Win32
| From: | Gordon Bergstr�m | Date: | Fri, 01 Mar 2002 12:45:58 +0000 |
| Subject: | PHP and Apache Win32 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86756@lists.php.net to get a copy of this message | ||
Greetings.
Got a, I think, pretty easy question if you know of it.
Running Apache with PHP. I always get a 500 Error page when I try to access
the php file. I have run php.exe -i and it all looks good. I am running php
as a DSO under Apache. In Apache error.log there is a line that say
"[Fri Mar 01 13:30:46 2002] [error] [client 127.0.0.1] couldn't spawn child
process: c:/program files/apache group/apache/htdocs/php/test.php"
Here is the relevant lines in httpd.conf:
<--------------Snipet---------------->
LoadModule php4_module modules/php4apache.dll
...
AddModule mod_php4.c
...
ScriptAlias /php/ "C:/Program Files/Apache Group/Apache/htdocs/php/"
<Directory "C:/Program Files/Apache Group/Apache/htdocs/php">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<------------------------------------>
I suspect that there is an error there somewhere, but can't figure out what.
Regards
Gordon