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

From: Date: Fri, 15 Jun 2001 15:21:15 +0000
Subject: Bug #11503 Updated: display #!/usr/local/bin/php on first line with boa webserver
Groups: php.dev 
Request: Send a blank email to php-dev+get-56850@lists.php.net to get a copy of this message
ID: 11503 Updated by: sniper Reported By: scpark@gen128.com Old-Status: Open Status: Duplicate Bug Type: Other web server Operating system: PHP Version: 4.0.5 Assigned To: Comments: duplicate of #9041 Previous Comments: --------------------------------------------------------------------------- [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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11503&edit=2

« previous php.dev (#56850) next »