#29350 [Fbk->NoF]: output_compression not working with zlib as loadable module
| From: | php-bugs at lists dot php dot net | Date: | Fri, 11 Feb 2005 00:00:19 +0000 |
| Subject: | #29350 [Fbk->NoF]: output_compression not working with zlib as loadable module | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73810@lists.php.net to get a copy of this message | ||
ID: 29350
Updated by: php-bugs@lists.php.net
Reported By: marcel at virtua dot ch
-Status: Feedback
+Status: No Feedback
Bug Type: Output Control
Operating System: FreeBSD *
PHP Version: 4.3.8
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-02-03 05:00:13] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-12-07 12:44:36] kir at fm dot com dot ua
the same on FreeBSD 5.2, PHP Version 4.3.9 with zlib as dynamically
loaded extension.
compiling zlib statically fixes the problem.
------------------------------------------------------------------------
[2004-10-17 19:19:59] tristan at stinx dot net
Confirmed on
FreeBSD 4.9-STABLE
Apache 2.0.52 (from ports, mod_deflate on by default)
PHP 4.3.9 (from ports, as an Apache module)
Zlib PHP module installed from /usr/ports/archivers/php4-zlib
With "zlib.output_compression = On" in /usr/local/etc/php.ini and
"extension=zlib.so" in /usr/local/etc/php/extensions.ini, the output
looks like it is compressed, but there's no mention of compression in
the HTTP headers. Disabling mod_deflate in the Apache config has not
effect.
After changing zlib.output_compression to Off, the output is normal.
Content is compressed if mod_deflate is on, uncompressed if off (as
expected).
------------------------------------------------------------------------
[2004-09-30 00:42:22] reuf_m at hotmail dot com
System
------
FreeBSD 5.3 BETA 6 AMD64(tried on 5.2.1 also);
Apache/2.0.50 (FreeBSD)
PHP/5.0.1
"zlib" is loaded as module.
Result (here phpinfo(); with zlib compression ON)
------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title></title>
</head>
<body>
‹
</body>
</html>
--------------------------------------------------
------------------------------------------------------------------------
[2004-07-29 00:32:50] frank at atteveld dot demon dot nl
I have the same problem. Zlib won't work when it's compilled as a
module. Therefor I have to add it to the Makefile myself.
I'm running a FreeBSD I386 5.2-release with php 4.3.8
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29350
--
Edit this bug report at http://bugs.php.net/?id=29350&edit=1