php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11503 display #!/usr/local/bin/php on first line with boa webserver
Submitted: 2001-06-15 10:34 UTC Modified: 2002-02-09 19:51 UTC
From: scpark at gen128 dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.5 OS: gnu/linux - i686
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: scpark at gen128 dot com
New email:
PHP Version: OS:

 

 [2001-06-15 10:34 UTC] scpark at gen128 dot com
According to security case 4 of Chapter 4 in PHP manual.
I use PHP-CGI that is in outside of webtree.

like this...
#!/usr/bin/php4
<?
   echo "abc";
?>

If I run this cgi sript with apache web server. it's result
is "abc" as you can expected. But, when I run it on BOA web
server it's result is "#!/usr/bin/php4 abc".

Some month ago. I've met also same problem with apache web
server in same situation. Of cause, I can get right result
with apache server, now. But. not with BOA.

I remember thttpd displayed same wrong result, too.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-15 11:21 UTC] sniper@php.net
duplicate of #9041

 [2002-02-09 19:51 UTC] mfischer@php.net
This bug has been fixed in CVS.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 08:01:27 2025 UTC