|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14031 Output handler dependency issue
Submitted: 2001-11-12 09:16 UTC Modified: 2001-11-12 18:33 UTC
From: yasuo_ohgaki at yahoo dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4.1.0RC1 OS: linux 2.4.4/glibc 2.2.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: yasuo_ohgaki at yahoo dot com
New email:
PHP Version: OS:


 [2001-11-12 09:16 UTC] yasuo_ohgaki at yahoo dot com
Thanks to Zeev's patch for output.c zlib.output_compression works as expected in 4.1.0RC CVS.

There is dependency problem in output buffering.

When both zblib.output_compression and output_handler is enabled, it seems output_compression is performed at first. Therefore, if mb_output_handler is specified as output_handler in php.ini. It doesn't work...

There should be a way to control dependency for output handlers. At least, ouptut compression need to be performed at the end of other ouput handlers.

I haven't tested under 4.2.0, I'll test it later.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-12 09:40 UTC] yasuo_ohgaki at yahoo dot com
I got following error with 4.2.0

Starting httpd: Unknown(0) : Fatal error - Cannot use both zlib.output_compression and tput_handler together!!

Is it possible print the same error for 4.1.0?

BTW, there is a typo in error message :)
 [2001-11-12 18:18 UTC]
Done. Can this bug report be closed now?


 [2001-11-12 18:33 UTC] yasuo_ohgaki at yahoo dot com
I think so. output handlers can be set with ob_start() anyway :) Closed.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Sep 22 13:01:24 2023 UTC