RE: [PHP-DEV] Switching zlib.output_compression, bug #16109

From: Date: Tue, 25 Jun 2002 12:43:50 +0000
Subject: RE: [PHP-DEV] Switching zlib.output_compression, bug #16109
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-85573@lists.php.net to get a copy of this message
<sigh> Unfortunately, in some cases, this won't work for me. The "image" scripts aren't always in their own separate directory. I *have* a workaround, but I just thought it would be nicer to allow using: ini_set("zlib.output_compression", "Off"); at the start of a script. Apparantly, everyone seems against that. :) Jaime Bozza -----Original Message----- From: Yasuo Ohgaki [mailto:yohgaki@ohgaki.net] Sent: Monday, June 24, 2002 7:47 PM To: php-dev@lists.php.net; Jaime Bozza Cc: 'Mike Hall' Subject: Re: [PHP-DEV] Switching zlib.output_compression, bug #16109 Jaime Bozza wrote: > And how do you set zlib.outputcompression on at runtime? > .htaccess if you are using Apache. If you use web server other than Aapche, use ob_gzhandler() I don't like ob_gzhandler() since PHP will misbehave easily by user's mistakes. However, it should be used in this case. -- Yasuo Ohgaki -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.dev (#85573) next »