ID:               44083
 Comment by:       mv at supportex dot net
 Reported By:      mjsabby at gmail dot com
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: Fedora 7
 PHP Version:      6CVS-2008-02-09 (CVS)
 New Comment:

reproduced 100% on 1 box with 5.2.6-2.fc9 httpd 2.2.9-1.fc9 i386, so
setting zlib_output_compression Off helps

on the other box, virtual() is not working regardless of setting
zlib_output_compression Off nor setting buffering Off


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

[2008-02-09 13:44:11] mjsabby at gmail dot com

Description:
------------
It seems in PHP6 (from CVS), virtual() doesn't work, well not the way
it used to if zlib.output_compression = On

In fact, as soon as the virtual request is called, the remaining
output's after that call are also not sent to the browser.

However, apache access logs say that they served correct amount of
bytes.

Setting zlib.output_compression = Off makes it work just fine.

Reproduce code:
---------------
pointless.txt:
 Hello World 

virtual.php
<?php
echo "I can see this\n";
virtual('pointless.txt');
echo "\nBut not this";

Expected result:
----------------
I can see this
Hello World
But not this

Actual result:
--------------
I can see this


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


-- 
Edit this bug report at http://bugs.php.net/?id=44083&edit=1

Reply via email to