Re: Re: php 4.1.0 output compression
| From: | Yasuo Ohgaki | Date: | Thu, 13 Dec 2001 09:31:10 +0000 |
| Subject: | Re: Re: php 4.1.0 output compression | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77556@lists.php.net to get a copy of this message | ||
Rares Vasilescu wrote:
From: "Yasuo Ohgaki"Search zlib.output_compression ini directive in php.ini. There is description in php.ini-dist, php.ini-recommended.How does it work? Read RFC for HTTP/1.1I meant how do i tell PHP to use output compression.
Does PHP automatically detect the browser capability and send a compressed response or do i have to activate it in my scripts. Or in the configuration file?It detects supported encoding, automatically. Just enable zlib.output_compression in php.ini to enable. -- Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com