|  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
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:
39 - 25 = ?
Subscribe to this entry?

 [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 Dec 08 06:01:28 2023 UTC