ID: 33641
Updated by: [EMAIL PROTECTED]
Reported By: lacak at users dot sourceforge dot net
Status: Bogus
Bug Type: Documentation problem
Operating System: Win98
PHP Version: Irrelevant
New Comment:
Ask support questions at General Mailing List next time. However, this
wasn't clear from the docs so I added this: "In runtime, it can be set
only before sending any output."
It means that you can both enable and disable it in runtime but with
limits already mentioned in the docs (browser must send proper
Accept-Encoding header).
Previous Comments:
------------------------------------------------------------------------
[2005-07-11 11:35:26] lacak at users dot sourceforge dot net
Yes... you are right. But I am sure, that today morning it was as i
wrote.
Can I have one not-bug question ?
when I use ini_set('zlib.output_compression', true);
in my script, then this has no effect on compression of page.
It is right ?
So in script i can only disable zlib.output_compression, but non enable
?
Thanks
------------------------------------------------------------------------
[2005-07-11 10:14:01] [EMAIL PROTECTED]
I see PHP_INI_ALL in www.php.net/manual/en/ini.php too.
------------------------------------------------------------------------
[2005-07-11 09:05:26] lacak at users dot sourceforge dot net
Description:
------------
in documentation on www.php.net/zlib is stated :
zlib.output_compression "Off" PHP_INI_ALL
and in www.php.net/manual/en/ini.php#ini.list is stated :
zlib.output_compression "Off" PHP_INI_SYSTEM|PHP_INI_PERDIR
what is true ?
It real the second case is true. But why not the first ?
(Also note that using zlib.output_compression is preferred over
ob_gzhandler().)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33641&edit=1