You are here: Re: [PHP] zlib.output_compression « PHP « IT news, forums, messages
Re: [PHP] zlib.output_compression

Posted by LacaK on 07/13/05 08:28

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
off in script using ini_set('zlib.output_compression', false); /*this
works !*/
Why does not work ini_set('zlib.output_compression', true); ? /*this is
a first line in script, so no output is already send*/

BUG No. is 33653 http://bugs.php.net/bug.php?id=33653 ,
but sniper@php.net market is as Bogus

I still think, that it does not work as expected.
LacaK.

Jasper Bryant-Greene wrote:
> 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 to
> allow setting it at runtime as some output could already have been made.
> Be interesting to see what the bug report digs up, though -- can we have
> a link?
>
> Jasper

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация