Yes, I tried setting it to 1 and also "on" and 4096 /*buffer size*/, but
the same result.
phpinfo() says, that zlib.output_compression=on, but page is not compressed.
I have checked source code of php, but I am not able to find, why it
does not work ?
Can any one explain, why is possible set zl
LacaK wrote:
Thanks for reply,
In documentation is stated, than "zlib.output_compression" is
changeable at PHP_INI_ALL. If there is no possibility to change it in
script, why it is not PHP_INI_SYSTEM|PHP_INI_PERDIR ?
And at second :
When I set "zlib.output_compression=on" in php.ini, then I
Thanks for reply,
In documentation is stated, than "zlib.output_compression" is changeable
at PHP_INI_ALL. If there is no possibility to change it in script, why
it is not PHP_INI_SYSTEM|PHP_INI_PERDIR ?
And at second :
When I set "zlib.output_compression=on" in php.ini, then I CAN turn it
o
LacaK wrote:
Yes, my browser send "Accept-Encoding: gzip,deflate"
When I alter : "zlib.output_compression=on" in php.ini it works fine !
Only runtime alter : ini_set('zlib.output_compression', true); does not
work !?
LacaK.
I'm pretty sure this behaviour is by design -- it doesn't make sense
of course I have removed ob_start(...)
david forums wrote:
do not forget to remove ob_start, also you'll make double compression
regards
Le Tue, 12 Jul 2005 12:29:02 +0200, LacaK <[EMAIL PROTECTED]>
a écrit:
Thank you,
I know this technique : ob_start('ob_gzhandler');
but I am interesting
do not forget to remove ob_start, also you'll make double compression
regards
Le Tue, 12 Jul 2005 12:29:02 +0200, LacaK <[EMAIL PROTECTED]> a
écrit:
Thank you,
I know this technique : ob_start('ob_gzhandler');
but I am interesting on : ini_set('zlib.output_compression', true);
/this is pref
Yes, my browser send "Accept-Encoding: gzip,deflate"
When I alter : "zlib.output_compression=on" in php.ini it works fine !
Only runtime alter : ini_set('zlib.output_compression', true); does not
work !?
LacaK.
M. Sokolewicz wrote:
Is your browser sending an accept-encoding header containing g
Is your browser sending an accept-encoding header containing gzip?
(eg. Accept-Encoding: gzip,deflate). If not, then PHP will reason it
should not send gzip-encoded content because the browser won't understand.
- tul
LacaK wrote:
Thank you,
I know this technique : ob_start('ob_gzhandler');
b
Thank you,
I know this technique : ob_start('ob_gzhandler');
but I am interesting on : ini_set('zlib.output_compression', true);
/this is preffered method as stated in manual :
Also note that using ini.zlib.output_compression is preferred over
ob_gzhandler(). /
And I do not understand, why it do
LacaK wrote:
I see contents using Network Monitor, so I se response header and
contents andthey are uncompressed, so somresion does not uccured.
It's likely the browser is uncomressing it before you ever see it. I
would telnet to port 80 and make an HTTP request to see for sure.
To turn
I see contents using Network Monitor, so I se response header and
contents andthey are uncompressed, so somresion does not uccured.
It's likely the browser is uncomressing it before you ever see it. I
would telnet to port 80 and make an HTTP request to see for sure.
--
PHP General Mailing L
On 7/11/05, LacaK <[EMAIL PROTECTED]> wrote:
> Can anyone help me with this question :
>
> when I write script like this :
>ini_set('zlib.output_compression', true);
> phpinfo();
> ?>
>
> page displays, that zlib.output_compression is On, but realy is not
> compresed (is send only like text
Can anyone help me with this question :
when I write script like this :
page displays, that zlib.output_compression is On, but realy is not
compresed (is send only like text/html)
Is possible to turn on compression (enable) in user script (using
ini_set), or only disable ini_set('zlib.outpu
Hi everybody,
I initially posted this on a german php-list, then i tried on
php-install on php.net but did not get one single answer yet. I hope
there is somebody on this list that can help me:
I am having a problem with zlib-compression-settings in php.ini and the
sending of 'normal' files with
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
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?
Regards,
Jakob Kruse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
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
"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
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 c
19 matches
Mail list logo