#25673 [Opn->Fbk]: Zlib output corrupted
| From: | sniper@php.net | Date: | Tue, 30 Sep 2003 14:17:54 +0000 |
| Subject: | #25673 [Opn->Fbk]: Zlib output corrupted | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48317@lists.php.net to get a copy of this message | ||
ID: 25673
Updated by: sniper@php.net
Reported By: alfredo at renatec dot com dot br
-Status: Open
+Status: Feedback
Bug Type: Zlib Related
Operating System: Linux 2.4.20
PHP Version: 4.3.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2003-09-30 09:27:07] alfredo at renatec dot com dot br
PS: Sorry my bad english and the words mistakes.
------------------------------------------------------------------------
[2003-09-30 09:26:08] alfredo at renatec dot com dot br
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.
------------------------------------------------------------------------
[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