[nycphp-talk] Output Buffering with CLI
rainelemental at gmail.com
Fri Jun 10 14:34:14 EDT 2011
On php.net somebody advised to flush the buffer with
You can try
On Jun 10, 2011, at 8:24 PM, Ronald Bradford <ronald.bradford at gmail.com>
I am having an issue where I am not getting any output during a long running
CLI PHP script.
Before any output I do
After each print I do
and at the end I do
However running my script I never get output as it happens.
$ php example.php > file.log
I can confirm output is happening with
$ php example.php | tee -a file.log
I can see output being generated, however it is not flushed to the output
Any help appreciated.
New York PHP Users Group Community Talk Mailing List
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk