#21250 [Opn->Fbk]: echo output is blocked when using system(), exec(), backticks, etc.

From: Date: Sat, 28 Dec 2002 17:21:02 +0000
Subject: #21250 [Opn->Fbk]: echo output is blocked when using system(), exec(), backticks, etc.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28604@lists.php.net to get a copy of this message
ID: 21250 Updated by: iliaa@php.net Reported By: adam@ripcord.net -Status: Open +Status: Feedback Bug Type: Output Control Operating System: OpenBSD 3.0 PHP Version: 4.3.0 New Comment: Check your php.ini, you probably have output buffering enabled. Previous Comments: ------------------------------------------------------------------------ [2002-12-28 11:19:46] adam@ripcord.net A script that I have which automates the building of Apache + PHP + ModSSL is showing strange behavior with PHP 4.3.0. This script works fine with 4.2.x (CGI), but as soon as I upgraded to 4.3.0 (CLI), all output from echo is blocked until the commands that I run through my many calls to system() are complete. The new CLI docs say that implicit flush is on by default with the CLI, but when using system(), exec(), or backticks this doesn't seem to be the case. My apologies if this is mere user stupidity. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21250&edit=1

« previous php.bugs (#28604) next »