From: carlos dot esteban at gft dot com Operating system: Windows 2000 PHP version: 5.1.1 PHP Bug Type: Unknown/Other Function Bug description: output handler 'ob_gzhandler' cannot be used twice
Description: ------------ This bug was reported and fixed in 2002 i think, but in PHP 5.1.1 + Apache 2 i'm getting this message "Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice" In many of the pages of PHPNuke framework I'm sure about the existence of output_handler = and zlib.output_compression = Off directives in the PHP configuration file. I'm not using CGI, i'm using the DLL for Apache component Reproduce code: --------------- For example in the \html\includes\page_header.php file in PHPNuke framework The lines are as follows if ( extension_loaded('zlib') ) { ob_start('ob_gzhandler'); } Actual result: -------------- Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in C:\Program Files\Apache Group\Apache2\htdocs\portal\html\includes\page_header.php on line 58 -- Edit bug report at http://bugs.php.net/?id=35962&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35962&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35962&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35962&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35962&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35962&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35962&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35962&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35962&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35962&r=support Expected behavior: http://bugs.php.net/fix.php?id=35962&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35962&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35962&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35962&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35962&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35962&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35962&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35962&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35962&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35962&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35962&r=mysqlcfg