Bug #8782 Updated: scripts run from CGI output "#!/usr/local/bin/php" line
| From: | mfischer@php.net | Date: | Sun, 10 Feb 2002 00:51:25 +0000 |
| Subject: | Bug #8782 Updated: scripts run from CGI output "#!/usr/local/bin/php" line | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7@lists.php.net to get a copy of this message | ||
ID: 8782
Updated by: mfischer@php.net
Reported By: verrue.jean-pierre@cimafap.msa.fr
-Status: Duplicate
+Status: Closed
Bug Type: *General Issues
Operating System: AIX 4.3.2
PHP Version: 4.0.4
New Comment:
This bug has been fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2001-01-25 12:29:08] cynic@php.net
duplicate of #8898
------------------------------------------------------------------------
[2001-01-18 10:21:03] verrue.jean-pierre@cimafap.msa.fr
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?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=8782&edit=1