php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18817 ob_implicit_flush does not work in CLI SAPI, especially annoying in "go-pear"
Submitted: 2002-08-08 17:35 UTC Modified: 2002-08-08 21:10 UTC
From: slarty2 at ntlworld dot com Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.2.2 OS: Mandrake Linux 8.2 Kernel 2.4.18
Private report: No CVE-ID: None
 [2002-08-08 17:35 UTC] slarty2 at ntlworld dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-08 21:10 UTC] yohgaki@php.net
It's known issue. Please search before submit bugs
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 22:01:28 2024 UTC