Bug #11503 Updated: display #!/usr/local/bin/php on first line with boa webserver

From: Date: Sun, 10 Feb 2002 00:51:57 +0000
Subject: Bug #11503 Updated: display #!/usr/local/bin/php on first line with boa webserver
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9@lists.php.net to get a copy of this message
ID: 11503 Updated by: mfischer@php.net Reported By: scpark@gen128.com -Status: Duplicate +Status: Closed Bug Type: *General Issues Operating System: gnu/linux - i686 PHP Version: 4.0.5 New Comment: This bug has been fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2001-06-15 11:21:15] sniper@php.net duplicate of #9041 ------------------------------------------------------------------------ [2001-06-15 10:34:49] scpark@gen128.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11503&edit=1

« previous php.bugs (#9) next »