ID: 25673
User updated by: alfredo at renatec dot com dot br
Reported By: alfredo at renatec dot com dot br
-Status: Feedback
+Status: Open
Bug Type: Zlib Related
Operating System: Linux 2.4.20
PHP Version: 4.3.3
New Comment:
This is a strange think. The page appears to be compressed, but the
browser appears to not try decompress. I tested in 3 different
machines. On a network analyser a see this relevant headers when I try
with a Mozilla Browser:
Request:
GET / HTTP/1.1
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5b)
Gecko/20030827
Response:
HTTP/1.1 200 OK
Server: Apache/2.0.47 (Unix) PHP/4.3.3
X-Powered-by: PHP/4.3.3
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1
On the browser the page comes totally unreadable with stange characters
like binary data. I think that PHP is not sending the correct headers
to browser, or Apache alter this headers, but Apache is with default
configuration from his sources.
Previous Comments:
------------------------------------------------------------------------
[2003-09-30 08:59:48] sniper@php.net
Please show how the pages are 'corrupted'. This works just fine for
me..
------------------------------------------------------------------------
[2003-09-26 13:41:28] alfredo at renatec dot com dot br
Description:
------------
I compile PHP 4.3.3 as module of Apache 2.0.47 with the following
command:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
--with-zlib
If I set zlib.output_compression to "On", all my pages are unreadable
(corrupted).
All other PHP configurations are default, except register_globals that
was turned on too.
PHP Zlib related:
ZLib Support enabled
'zlib:' fopen wrapper enabled
Compiled Version 1.1.4
Linked Version 1.1.4
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25673&edit=1