Re: CLI question

From: Date: Thu, 18 Dec 2003 14:47:59 +0000
Subject: Re: CLI question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172951@lists.php.net to get a copy of this message
Ford, Mike [LSS] wrote:
Shouldn't that be *don't* use output buffering and...? The flush() function has nothing to do with output buffering, and if output buffering is on you will need ob_flush() as well. Another (and probably better) solution is to create a php-cli.ini file, which will be picked up only by your CLI version, and put output_buffering = Off implicit_flush = On in it. (Implicit flushing is usually expensive and inappropriate when generating Web pages, but usually exactly what you want when running from the command line.) Cheers! Mike Thanks Jay and Mike..
Mike.. how does the CLI version of PHP know to use the new ini file? Rod

« previous php.general (#172951) next »