Re: [PHP] zlib.output_compression, how to turn it OFF?

2001-05-10 Thread Zeev Suraski

At 16:53 10/5/2001, Jakob Kruse wrote:
>Hi.
>
>I have turned on zlib.output_compression in my PHP 4.0.5 php.ini file, and
>it works beautifully. But if I want to turn off all buffering/compression
>for a single page, how do I do that?

The only way to selectively configure zlib.output_compression for specific 
pages/directories is by adding
php_flag zlib.output_compression [on/off]
in .htaccess files, or in the httpd.conf file (assuming you're using Apache).

Zeev



--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] zlib.output_compression - how to turn it on

2001-05-01 Thread Yasuo Ohgaki

"Robert Mena" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi, after downloading and compiling php4.0.6dev (from
> cvs) I've decided to try the new "much improved" zlib
> output support (already enabled in 4.0.5).
>
> The announcement from the changelog says check the
> zlib.output_compression ini.
>
> I've searched the php.net site as well as the mailing
> lists but could not find a reference for it.
>
> I've tried to put zlib.output_compression=on (or yes)
> in my /usr/local/etc/php.ini and even tough I've
> restarted the server, phpInfo() shows me no
> difference.

If you want to check if it is working.

Display phpinfo() and check the size of the file.
I get 6 KB compressed, where I get 50KB uncompressed.

You have zlib support, right?

--
Yasuo Ohgaki




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] zlib.output_compression - how to turn it on

2001-05-02 Thread Robert Mena

Yasuo,

thanks for the reply. Yes I do have zlib support
(shows me in phpinfo()).

Sorry the stupid question but How do I check the size
of the page ?

If I access it and use save as I will have the
uncompressed version right ?

Which .ini directive did you use ?

- thanks

>>If you want to check if it is working.

>>Display phpinfo() and check the size of the file.
>>I get 6 KB compressed, where I get 50KB
uncompressed.

>> You have zlib support, right?

--
Yasuo Ohgaki

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]