I've installed PHP4 and Apache on Windows
NT4, apache runs without any problems and
I can run php scripts on command line,
however, when I run a php script from web
browser it fails and the following message
is written to apache err.log:
[Wed Jan 03 17:52:07 2001] [error] [client 127.0.0.1] c:/php/scripts/t.php is not executable; ensure interpreted scripts have "#!" first line
[Wed Jan 03 17:52:07 2001] [error] [client 127.0.0.1] (2)No such file or directory: couldn't spawn child process: c:/php/scripts/t.php
Here's what I've got in my httpd.conf:
ScriptAlias /php/ "C:/php/scripts/"
Action application/x-httpd-php "c:/php/php.exe"
AddType application/x-httpd-php .php
If you know how to solve this problem could
you please e-mail me as well as posting a
message to support forum.
Thank you.
Gera