[Tickets #1626] Using ZPS file compression incompatible with compress_pages option

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Mar 29 10:34:12 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1626
-----------------------------------------------------------------------
 Ticket             | 1626
 Updated By         | kevin_myer at iu13.org
 Summary            | Using ZPS file compression incompatible with compress_pages option
 Queue              | Horde Base
 Version            | 3.0.3
 State              | Feedback
 Priority           | 1. Low
 Type               | Bug
 Owners             | Chuck Hagenbuch
-----------------------------------------------------------------------


kevin_myer at iu13.org (2005-03-29 10:34) wrote:

ini_get('output_handler') returns nothing if using ZPS file compression.

The suggestion was made to test for the existence of ZPS file compression by
checking the values of:

zend_accelerator.compress_all
or
zend_accelerator.compression

So I'd think that just adding a check to see if
zend_accelerator.compress_all !=1 or ini_get('zend_accelerator.compress_all)
== '' (I'm not sure which is the proper way to do it, my guess would be the
latter) in Horde::compressOutput should do the trick.

I have all my sites accelerated currently and don't want to monkey with
configs in the middle of the day.  But I'll add a php_admin_value to disable
ZPS compression for my test site and will either generate a patch or test
one if you beat me to it.




More information about the bugs mailing list