#41138 [Opn->Fbk]: Broken output from PHP scrips (both in mod_php and fastcgi)
| From: | tony2001@php.net | Date: | Thu, 19 Apr 2007 08:04:50 +0000 |
| Subject: | #41138 [Opn->Fbk]: Broken output from PHP scrips (both in mod_php and fastcgi) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111672@lists.php.net to get a copy of this message | ||
ID: 41138
Updated by: tony2001@php.net
Reported By: kovyrin at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Debian Linux 4.0 (2.6.17-2-686)
PHP Version: 5.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Cannot reproduce.
Previous Comments:
------------------------------------------------------------------------
[2007-04-19 07:57:53] kovyrin at gmail dot com
Description:
------------
On one of our servers working with Debian GNU/Linux 4.0 we're
experiencing really strange behavior of php. Even small php script which
consists of <? phpinfo(); ?> produces defferent result on every
execution.
We've tried to use php as mod_php and as lighttpd+fastcgi, no luck -
output contains binary data (one or many blocks of 0x00 bytes) sometimes
these bytes are sent even before HTTP headers.
We've tried php from debian repositories and 5.2.1 from official web
site - results sometimes are different, but anyways they are not
acceptable.
One major thing about this error - script output should be big enough
and download speed should be not so fast (it works from local network,
but produces these weird results from any workstation in the Internet).
Reproduce code:
---------------
http://www.trafficvalet.com/phpinfo.php - this
is simple script with
<? phpinfo(); ?> inside. If you'll try to refresh page 5-10 times
you'll get that broken result.
If you'll not be able to get such results,
http://www.trafficvalet.com/phpinfo.php.bin -
this is one sample
result.
Expected result:
----------------
phpinfo() output without \0 bytes.
Actual result:
--------------
One or more blocks of zero-bytes in output stream.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41138&edit=1