#18817 [NEW]: ob_implicit_flush does not work in CLI SAPI, especially annoying in "go-pear"
| From: | slarty2 at ntlworld dot com | Date: | Thu, 08 Aug 2002 21:35:51 +0000 |
| Subject: | #18817 [NEW]: ob_implicit_flush does not work in CLI SAPI, especially annoying in "go-pear" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16329@lists.php.net to get a copy of this message | ||
From: slarty2@ntlworld.com
Operating system: Mandrake Linux 8.2 Kernel 2.4.18
PHP version: 4.2.2
PHP Bug Type: Output Control
Bug description: ob_implicit_flush does not work in CLI SAPI, especially annoying in
"go-pear"
In the "go-pear" auto-installation script, which is an interactive program
using console I/O, several attempts are made to turn off output buffering,
but none of them succeeds. It does (in this order)
ob_implicit_flush(true);
ini_set('implicit_flush', true);
But the output STILL does not get flushed. Because it relies on this
behaviour in order to work, I cannot proceed.
The script which produces this error is (at the time of writing) at
http://pear.php.net/go-pear
There are some other bug reports which are similar but they all seem to be
related to other SAPIs.
I configured PHP with
./configure --prefix=/home/mark/apache/php
--with-apxs=/home/mark/apache/bin/apxs --enable-cli --with-zlib
To build the Apache and CLI SAPIs.
--
Edit bug report at http://bugs.php.net/?id=18817&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18817&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18817&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18817&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18817&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18817&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18817&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18817&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18817&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18817&r=globals