Bug #15560 Updated: PHP path prints when PHP compiled as a CGI
| From: | sander@php.net | Date: | Fri, 15 Feb 2002 18:05:41 +0000 |
| Subject: | Bug #15560 Updated: PHP path prints when PHP compiled as a CGI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-384@lists.php.net to get a copy of this message | ||
ID: 15560
Updated by: sander@php.net
Reported By: caetin@u.washington.edu
-Status: Open
+Status: Closed
Bug Type: Apache related
Operating System: AIX
PHP Version: 4.1.1
New Comment:
This bug has been fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2002-02-14 15:09:53] caetin@u.washington.edu
I compiled 4.1.1 as a cgi, and whenever i put the path to PHP in
#!/path/blah, it'll print out #!/path/blah as the first text of the
file, then execute the script. If i take out the #!/path/blah, it will
give me the normal cgi 500 error, premature end of script headers. This
can be seen at http://students.washington.edu/caetin/blah.cgi
, which
contains:
vergil01% cat blah.cgi
#!/nfs/guido01/dw05/d75/caetin/php
<? phpinfo(); ?>
for example, i also made
http://students.washington.edu/caetin/blah2.cgi
which doesn't have the
shebang. It gives the 500 error.
Both files are chmod' to 755 as well.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15560&edit=1