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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 01:01:28 2024 UTC