php4 cgi in WinNT/apache requires a #! to execute

From: Date: Tue, 13 Mar 2001 06:47:57 +0000
Subject: php4 cgi in WinNT/apache requires a #! to execute
Groups: php.general 
Request: Send a blank email to php-general+get-43626@lists.php.net to get a copy of this message
Dear all, Please *cc the reply to me* as I'm not a subscriber to the list. I got these errors from apache 1.3.17/WinNT/php4.0.4p11 [Tue Mar 13 14:29:23 2001] [error] [client 127.0.0.1] f:/php/local-cgi/test.php is not executable; ensure interpreted scripts have "#!" first line [Tue Mar 13 14:29:23 2001] [error] [client 127.0.0.1] couldn't spawn child process: f:/php/local-cgi/test.php when trying to test the installation with a simple script which is simply <? phpinfo(); > When I add the sebang line "#!f:/php/php" it executed alright but then I got this line echoed on the resulting page. I had used php3/apache/linux without such problem and I don't seem to find any such report in th mailing list. What have I missed? Best wishes, ST --

« previous php.general (#43626) next »