[php-maint] Bug#663960: [php5] can't change zlib.output_compression on the fly anymore
Olivier Bonvalet
ob.reportbug at daevel.fr
Wed Mar 14 10:02:07 UTC 2012
Package: php5
Version: 5.4.0-2
Severity: important
Since upgrade to PHP 5.4, we can't change zlib.output_compression on the
fly.
Code to reproduce :
<?php
if (!headers_sent())
ini_set('zlib.output_compression', true);
echo 'end';
?>
Expected result :
end
Actual result :
Warning: ini_set(): Cannot enable zlib.output_compression - there has
already been output in /home/alex/workspace/test/www/nouveauScript.php
on line 3
end
--- System information. ---
Architecture: amd64
Kernel: Linux 3.2.0-2-amd64
Debian Release: wheezy/sid
500 unstable apt.local
1 experimental apt.local
--- Package information. ---
Depends (Version) | Installed
===========================================-+-==============
libapache2-mod-php5 (>= 5.4.0-2) |
OR libapache2-mod-php5filter (>= 5.4.0-2) |
OR php5-cgi (>= 5.4.0-2) | 5.4.0-2
OR php5-fpm (>= 5.4.0-2) |
php5-common (>= 5.4.0-2) | 5.4.0-2
Package's Recommends field is empty.
Package's Suggests field is empty.
More information about the pkg-php-maint
mailing list