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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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.


Patches

Pull Requests

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 Oct 11 21:01:27 2024 UTC