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

Reply via email to