Re: Switching zlib.output_compression, bug #16109

From: Date: Wed, 26 Jun 2002 17:55:33 +0000
Subject: Re: Switching zlib.output_compression, bug #16109
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-85603@lists.php.net to get a copy of this message
At 18:37 26.06.2002, Stefan Roehrich wrote:
On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: I'm -1 for features that silently fails. User can check ini_set return value if it is successful or not. So I'm 0 for ini_set("zlib.output_compresion","Off"); I don't understand your first two sentences, what do you mean with "silently fails"? The switching off via an image Content-Type header? Normally I also don't like such "automatical" solutions, but I think that's an easy way to make it possible e.g. for a hosting company to switch on output compression without having to change every script which sends an image because of this netscape bug (which is visible e.g. with phpinfo()).
A hosting company would use mod_gzip if compression is necessary for them marcus
You still can force off the output compression via ini_set (or even force it on for images, e.g. if you want to send uncompressed gifs). Stefan --
Stefan Röhrich               stefan@roehri.ch, sr@linux.de
                                 http://www.roehri.ch/~sr/
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#85603) next »