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

 ID:               44083
 Updated by:       [email protected]
 Reported by:      mjsabby at gmail dot com
 Summary:          virtual() not outputting results if
                   zlib.output_compression = On
-Status:           Open
+Status:           Wont fix
 Type:             Bug
 Package:          Apache2 related
 Operating System: Fedora 7
 PHP Version:      6CVS-2008-02-09 (CVS)

 New Comment:

Old trunk related.


Previous Comments:
------------------------------------------------------------------------
[2009-04-20 20:16:12] mv at supportex dot net

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

------------------------------------------------------------------------
[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/bug.php?id=44083&edit=1

Reply via email to