ID: 49182 Updated by: j...@php.net Reported By: salsi at icosaedro dot it -Status: Open +Status: Feedback Bug Type: CGI related Operating System: Slackware 12.0 PHP Version: 5.3SVN-2009-08-06 (SVN) New Comment:
What webserver? How did you configure PHP into it? Previous Comments: ------------------------------------------------------------------------ [2009-08-06 18:59:41] salsi at icosaedro dot it Description: ------------ Executing any PHP CGI script always results in the shebang line being displayed along the correct HTML code of the WEB page. This happens with and without the --enable-discard-path configuration flag (although I'm not really sure this flag be realted to the issue or not). Reproduce code: --------------- #!/usr/local/php-5.3.0/bin/php-cgi -c /home/salsi/php530/php.ini <?php echo PHP_VERSION; ?> Expected result: ---------------- $ ./shebang.php X-Powered-By: PHP/5.3.1-dev Content-type: text/html 5.3.1-dev Actual result: -------------- $ ./shebang.php X-Powered-By: PHP/5.3.1-dev Content-type: text/html #!/usr/local/php-5.3.0/bin/php-cgi -c /home/salsi/php530/php.ini 5.3.1-dev ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49182&edit=1