From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.0.4pl1
PHP Bug Type: *Configuration Issues
Bug description: CGI version echos first line
using PHP 4.0.4pl1 under Linux
I configured php as:
./configure --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/posgresql
--enable-track-vars --enable-gd=../gd1.8.3 --enable-ftp --enable-discard-path
now.. the problem is simple... i create script to run from the shell containing the
following:
#!/usr/local/bin/php
<?
echo "asdf";
?>
the problem: PHP prints #!/usr/local/bin/php on top of all output.. i tried to use
output buffering to suppress it, but it doesnt catch it, without the
#!/usr/local/bin/php I cant run the script from shell properly ...
I noticed this issue since version 4.0.3pl1 (I think) .. but it was not existant in
past versions (4.0.2 , etc)
--
Edit Bug report at: http://bugs.php.net/?id=9446&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]