Re: Switching zlib.output_compression, bug #16109
| From: | Mike Hall | Date: | Mon, 24 Jun 2002 15:55:54 +0000 |
| Subject: | Re: Switching zlib.output_compression, bug #16109 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85542@lists.php.net to get a copy of this message | ||
Well write your own callback function for ob_start then! ;-)
> Perhaps. :) But it seems you're missing the point. Read here:
>
> http://www.php.net/manual/en/function.session-start.php
>
> Specifically, the second note:
>
> Note: Use of zlib.output_compression is recommended rather than
> ob_gzhandler
>
> zlib.output_compression != ob_start('ob_gzhandler')
>
>
> Which brings us back to the original point. How does one go about
> enabling/disabling zlib.output_compression from within a script?
> ini_set('zlib...', 'On|Off') does not work.
>