#33641 [Bgs]: zlib.output_compression

From: Date: Mon, 11 Jul 2005 09:47:06 +0000
Subject: #33641 [Bgs]: zlib.output_compression
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369059@lists.php.net to get a copy of this message
ID: 33641 Updated by: vrana@php.net 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] vrana@php.net 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

« previous php.doc (#969369059) next »