|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-25 12:29 UTC] cynic@php.net
[2002-02-09 19:51 UTC] mfischer@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 07:00:01 2025 UTC |
I have the same problem as that described in bug # 7503. I use cgi PHP with Netscape E.S. 3.51 on AIX 4.3.2. I always obtain line "#!/lusr/local/bin/php" at the beginning of HTML page produced by PHP. I was read all the posts relating to this bug and I circumvented the difficulty like this: I modified the file cgi_main.c by recopying the lines related to /* #!php support */ in the first 'if' 'if (cgi && !file_handle.handle.fp) {...' On the other hand, when I test PHP directly under Shell all is well. I noted that the program does not pass in same the branch of the 'if' according to whether one calls upon it in Shell or cgi. Ideas?