Hi,

I've installed PHP4 on Win95. It should work with Apache like my
Perl/CGI scripts..
When I try to load a page i get an INTERNAL SERVER ERROR.

[Fri Mar 23 18:49:02 2001] [error] [client 127.0.0.1]
c:/develop/php4/seminar/hello.php is not executable; ensure interpreted
scripts have "#!" first line
[Fri Mar 23 18:49:02 2001] [error] [client 127.0.0.1] (2)No such file or
directory: couldn't spawn child process:
c:/develop/php4/seminar/hello.php

I tried to add a file extension mapping to the registry like I did with
Perl/CGI.
.pl       "c:\develop\perl4\bin\perl.exe %s %s"
.php    "c:\develop\php4\php.exe %s %s"

Unfortunately the same happened.

I added a unix-like first line
#!c:/develop/php4/php.exe

It works!

.. but this line also appears in my browser.

Any help for a satisfying configuration appreciated.

Heiko


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to