|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21587 ob_gzhandler sending out empty pages
Submitted: 2003-01-11 14:26 UTC Modified: 2003-01-12 10:57 UTC
From: epoc_32 at yahoo dot co dot ukXXX Assigned:
Status: Not a bug Package: Zlib related
PHP Version: 4.3.0 OS: FreeBSD 4.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
37 + 29 = ?
Subscribe to this entry?

 [2003-01-11 14:26 UTC] epoc_32 at yahoo dot co dot ukXXX
I have an obsolete PDA browser which doesn't support gz compressed pages but sends out the following (unnecessary) header in it's HTTP requests:

"Accept-Encoding: "

using ob_start("ob_gzhandler"); leads to the browser receiving empty pages.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-11 23:12 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 [2003-01-12 10:06 UTC] epoc_32 at yahoo dot co dot ukXXX
I can't upgrade PHP on my host's server but I did get someone to test with PHP 4.3.0 on Linux and the problem was fixed, thanks.
 [2003-01-12 10:57 UTC]
If you want to let PHP automatically choose an appropreate encoding scheme
by Accept-Encoding header that is sent by clients,
try zlib.output_compression directive instead of using ob_* stuff.

Not a php developer issue though.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 10:01:33 2024 UTC