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

From: Date: Fri, 15 Jun 2001 14:34:49 +0000
Subject: Bug #11503: display #!/usr/local/bin/php on first line with boa webserver
Groups: php.dev 
Request: Send a blank email to php-dev+get-56784@lists.php.net to get a copy of this message
From: scpark@gen128.com Operating system: gnu/linux - i686 PHP version: 4.0.5 PHP Bug Type: Other web server Bug description: display #!/usr/local/bin/php on first line with boa webserver 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 Bug report at: http://bugs.php.net/?id=11503&edit=1

« previous php.dev (#56784) next »