ID:               41138
 User updated by:  kovyrin at gmail dot com
 Reported By:      kovyrin at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Unknown/Other Function
 Operating System: Debian Linux 4.0 (2.6.17-2-686)
 PHP Version:      5.2.1
 New Comment:

My fault - it does not work from local network :-(


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

[2007-04-19 08:07:01] [EMAIL PROTECTED]

Make sure there are no "smart" firewalls and proxies between that
server and Internet.
If you're saying it works from local net, but doesn't work from
Internet, most likely it has nothing to do with PHP, since PHP does not
care where the client is.

------------------------------------------------------------------------

[2007-04-19 08:04:50] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[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

Reply via email to