From: [EMAIL PROTECTED] Operating system: FreeBSD 4.x PHP version: 4.1.1 PHP Bug Type: Scripting Engine problem Bug description: Using PHP for CGI scripting.
When i try to use PHP 4.1.1 on one server in both console and module verion i have such problem: I wrote CGI script using console version of php. This scipt begins by line #!/usr/local/bin/php. When i run scipt as standalone application - all ok. But when i run it as CGI appication - first output line contains #!/usr/local/bin/php and then goes correct output. This bug begins after upgrade from 4.0.4 to 4.1.0 -- Edit bug report at http://bugs.php.net/?id=15575&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15575&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15575&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15575&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15575&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15575&r=support Expected behavior: http://bugs.php.net/fix.php?id=15575&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15575&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15575&r=submittedtwice