ID: 21054
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Suspended
Bug Type: Output Control
Operating System: Redhat 7.2
PHP Version: 4.3.0RC3
New Comment:
To both of you: please execute the following script:
<?php
$a=array();
function get($n) { global $a; $a[$n] = ini_get($n); }
get('output_buffering');
get('output_handler');
get('zlib.output_compression');
get('zlib.output_handler');
var_dump($a);
?>
Previous Comments:
------------------------------------------------------------------------
[2002-12-18 04:45:40] [EMAIL PROTECTED]
The same message appears if I place
<?php
ob_start('ob_gzhandler');
?>
in the begining of the any php script.
(W2kPro SP2, PHP4.3.0RC2, Apache 2.0.43)
------------------------------------------------------------------------
[2002-12-16 15:56:49] [EMAIL PROTECTED]
It's a pretty useless bugreport like this. Suspended until you can
profile some real useful information to reproduce this problem.
------------------------------------------------------------------------
[2002-12-16 15:52:45] [EMAIL PROTECTED]
I don't know if it's a particular script to cause the warning, the log
don't tell me anything
Other informations:
Apache: 2.0.43
PHP: 4.3.0RC3
Zend Optimizer: 2.0.3
Configure:
'./configure' '--enable-track-vars' '--prefix=/usr'
'--exec-prefix=/usr' '--libexecdir=/usr/lib/apache' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--datadir=/home/httpd'
'--sysconfdir=/etc/httpd/conf' '--localstatedir=/var'
'--libdir=/usr/lib/apache' '--includedir=/usr/include/apache'
'--mandir=/usr/man' '--with-mysql=/usr'
'--with-config-file-path=/usr/local/Zend/etc' '--enable-memory-limit'
'--with-apxs2' '--with-zlib' '--disable-session'
------------------------------------------------------------------------
[2002-12-16 15:45:29] [EMAIL PROTECTED]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-12-16 15:44:55] [EMAIL PROTECTED]
Sometimes (it seems random) I find in the error_log this fatal error:
PHP Warning: (null)() [<a
href='http://www.php.net/ref.outcontrol'>ref.outcontr
ol</a>]: output handler 'ob_gzhandler' cannot be used twice in Unknown
on line 0
Repeated 4 times.
I haven't activated gz_handler in php.ini and it's not activated in
virtaulhosts, I don't set in scripts. I'm not using it, why it tells me
that I use it TWICE?
Andrea Busia
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21054&edit=1