php.net |  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
 [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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] sniper@php.net
Done. Can this bug report be closed now?

--Jani

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 17:01:30 2024 UTC