From: hajo at csphere dot eu Operating system: Windows 7 PHP version: 5.4.4 Package: Zlib related Bug Type: Bug Bug description:zlib conflict with gzhandler
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 bug report at https://bugs.php.net/bug.php?id=62335&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62335&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62335&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62335&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62335&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62335&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62335&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62335&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62335&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62335&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62335&r=support Expected behavior: https://bugs.php.net/fix.php?id=62335&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62335&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62335&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62335&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62335&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62335&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62335&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62335&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62335&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62335&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62335&r=mysqlcfg