Win95/Apache - Internal Server Error
| From: | Heiko Wöhr | Date: | Fri, 23 Mar 2001 18:30:37 +0000 |
| Subject: | Win95/Apache - Internal Server Error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2567@lists.php.net to get a copy of this message | ||
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