[Tickets #4978] Re: Docs: PHP compression should not be recommended if IMP is used.
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu Feb 8 16:57:55 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4978
-----------------------------------------------------------------------
Ticket | 4978
Updated By | tansy at pacific.net.sg
Summary | Docs: PHP compression should not be recommended if IMP is used.
Queue | Horde Base
Version | 3.1.3
Type | Enhancement
State | Feedback
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
tansy at pacific.net.sg (2007-02-08 16:57) wrote:
Hi Jan,
Thanks. Enabling compression in Horde instead of doing so in php.ini does
get it to work.
I believe lib/Horde/Browser.php is setting the Content-Length header (as
mentioned at ~line 991) using the size of the attachment (this value is
sent via IMP using strlen()).
>> May I ask where can I find this option?
>
> It's not an option, compression is turned off unconditionally in
> imp/view.php. Of course this only work with compression enabled in
> Horde. I would think that PHP should change the Content-Length header
> if compression is turned on in PHP, anything else sounds like a PHP
> bug to me.
>
>> Are we doing something wrong?
>
> Try enabling compression in Horde's configuration, not PHP's.
More information about the bugs
mailing list