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

 ID:                 62335
 User updated by:    hajo at csphere dot eu
 Reported by:        hajo at csphere dot eu
 Summary:            zlib conflict with gzhandler
 Status:             Open
 Type:               Bug
 Package:            Zlib related
 Operating System:   Windows 7
 PHP Version:        5.4.4
 Block user comment: N
 Private report:     N

 New Comment:

there is also a second error message, but that might be clear:

ob_start(): failed to create buffer


Previous Comments:
------------------------------------------------------------------------
[2012-06-15 14:32:28] hajo at csphere dot eu

Description:
------------
with php 5.3.13, 5.3.14 and 5.4.3 the script is working well while it delivers 
the following error with php 5.4.4:

ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output 
compression'

webserver is nginx 1.2 without deflate mods using php via fcgi

php.ini setting 'zlib.output_compression' is turned off

Test script:
---------------
error_reporting(E_ALL);

$zlib_oc = ini_get('zlib.output_compression');

if(empty($zlib_oc)) {

    ob_start('ob_gzhandler');
}

echo 'test';

Expected result:
----------------
test

Actual result:
--------------
test with the error message attached that was mentioned above


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



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

Reply via email to