When I run the following code (PHP 5.2.2, 5.2.3) via Apache (with an
htaccess file), I get this error:
Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffer zlib
output compression. in ...
Can anyone explain what's going on?
I'm assuming it isn't a bug and I've read the documentation. Did I
miss something?
htaccess file code:
php_flag output_buffering Off
php_flag zlib.output_compression On
php_value zlib.output_compression_level "-1"
PHP Code:
<?php
error_reporting(E_ALL | E_NOTICE);
ini_set('display_errors', '1');
ob_start();
echo "You shouldn't see this.";
while (ob_get_level() > 0) {
ob_end_clean();
}
ob_start();
echo "You SHOULD see this.";
ob_end_flush();
?>
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php