ID: 12786
Updated by: sterling
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating System: Linux 2.2.19 and FreeBSD 4.3
PHP Version: 4.0.5
New Comment:

Upgrade to the latest CVS and try this out, cannot reproduce.


Previous Comments:
------------------------------------------------------------------------

[2001-08-16 06:33:49] [EMAIL PROTECTED]

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 this 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]

Reply via email to