From: [EMAIL PROTECTED] Operating system: Linux 2.2.19 and FreeBSD 4.3 PHP version: 4.0.5 PHP Bug Type: Reproducible crash Bug description: PHP-CGI executing PHP-CGI thru Apache PHP is run as a CGI script. Error does not occur when PHP is run as Apache module. I have reproduced error on three different systems. file: test.php <? echo "Ho! "; echo `./test`; ?> file: test #!/usr/local/bin/php -q <? echo "Ha!"; ?> When running php -q < test.php. output is correct: "Ho! Ha!" When requesting test.php through apache, output is as follows: Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! X-Powered-By: PHP/4.0.5 Content-type: text/html Ho! --------------------------- PHP configure string: ./configure -with-mysql --enable-force-cgi-redirect --with-gdbm --enable-ftp php.ini is empty. Apache version: 1.3.19 (also tested 1.3.9) Also tested FreeBSD 4.3 with Apache 1.3.19, same problem. Also tested PHP 4.0.0 and 4.0.2, same problem. mvh Allan Hansen -- Edit bug report at: http://bugs.php.net/?id=12786&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]