Thanks for reply,
In documentation is stated, than "zlib.output_compression" is changeable
at PHP_INI_ALL. If there is no possibility to change it in script, why
it is not PHP_INI_SYSTEM|PHP_INI_PERDIR ?
And at second :
When I set "zlib.output_compression=on" in php.ini, then I CAN turn it
off in script using ini_set('zlib.output_compression', false); /*this
works !*/
Why does not work ini_set('zlib.output_compression', true); ? /*this is
a first line in script, so no output is already send*/
BUG No. is 33653 http://bugs.php.net/bug.php?id=33653 ,
but [EMAIL PROTECTED] market is as Bogus
I still think, that it does not work as expected.
LacaK.
Jasper Bryant-Greene wrote:
LacaK wrote:
Yes, my browser send "Accept-Encoding: gzip,deflate"
When I alter : "zlib.output_compression=on" in php.ini it works fine !
Only runtime alter : ini_set('zlib.output_compression', true); does
not work !?
LacaK.
I'm pretty sure this behaviour is by design -- it doesn't make sense to
allow setting it at runtime as some output could already have been made.
Be interesting to see what the bug report digs up, though -- can we have
a link?
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php