PHP4.3/Apache1.3.33 under windows xp
| From: | Srinivasan S | Date: | Wed, 05 Jan 2005 13:28:09 +0000 |
| Subject: | PHP4.3/Apache1.3.33 under windows xp | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25232@lists.php.net to get a copy of this message | ||
Hello
I have installed PHP 4.3.1o manually along with Apache 1.3 under windows xp.
I made the following entries to httpd.conf:
LoadModule php4_module "c:/php/sapi/php4apache.dll"
AddType application/x-httpd-php .php
In addition DocumentRoot and <Directory> is set.
Scriptalias is set to valid cgi-bin path where my test files are present
The following entries are made in php.ini:
doc_root is updated to teh same path as in DocumentRoot above
When I try to load a page test.php under cgi-bin, I get the following errors :
[Wed Jan 05 18:55:15 2005] [error] [client 127.0.0.1] c:/php/web/cgi-bin/test.php is not executable;
ensure interpreted scripts have "#!" first line
[Wed Jan 05 18:55:15 2005] [error] [client 127.0.0.1] couldn't spawn child process:
c:/php/web/cgi-bin/test.php
Please help.
Regards
Srini