#21054 [Sus->Csd]: 'ob_gzhandler' cannot be used twice???
| From: | helly@php.net | Date: | Sun, 12 Jan 2003 17:57:43 +0000 |
| Subject: | #21054 [Sus->Csd]: 'ob_gzhandler' cannot be used twice??? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29825@lists.php.net to get a copy of this message | ||
ID: 21054
Updated by: helly@php.net
Reported By: busia@tiscali.it
-Status: Suspended
+Status: Closed
Bug Type: Output Control
Operating System: Redhat 7.2
PHP Version: 4.3.0RC3
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
So than it is fixed in CVS -> closed
Previous Comments:
------------------------------------------------------------------------
[2003-01-11 14:58:35] busia@tiscali.it
Now I have 4.4.0-dev (200301041230) and the problem seems to be
corrected, I don't see anymore this warning in logs.
BTW this is the output:
------------------------
array(4) { ["output_buffering"]=> string(1) "1"
["output_handler"]=>
bool(false) ["zlib.output_compression"]=> string(0) ""
["zlib.output_handler"]=> string(0) "" }
------------------------
------------------------------------------------------------------------
[2003-01-11 11:41:09] helly@php.net
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);
?>
------------------------------------------------------------------------
[2002-12-18 04:45:40] ruslan_y@visit.ru
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] derick@php.net
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] busia@tiscali.it
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'
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21054
--
Edit this bug report at http://bugs.php.net/?id=21054&edit=1