|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-12-28 11:19 UTC] adam at ripcord dot 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 10:00:01 2025 UTC |
imlicit_flush and output_buffering are two unrelated things, but this fact has been known to confuse even seasoned php developers :) In 4.3.0 you can have php-cli.ini (or php-{sapi}.ini) which can help configure different sapi's in different ways.