Re: implicit_flush with CLI (bug?)
| From: | Arne Blankerts | Date: | Sun, 02 Nov 2003 04:35:55 +0000 |
| Subject: | Re: implicit_flush with CLI (bug?) | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969356791@lists.php.net to get a copy of this message | ||
Update ;)
Okay.. i guess if figured it out. As soon as one specifies '-n' to NOT
read the php.ini ( where implicit_flush is set to off for webserver
usage), it works as expected.
/usr/local/php-4.3.3/bin/php -r 'echo "test"; while (1);'
-> no output
/usr/local/php-4.3.3/bin/php -n -r 'echo "test"; while (1);'
-> works as expected - test is displayed.
/usr/local/php-4.3.3/bin/php -c ./php.ini 'echo "test"; while (1);'
-> works as expected - test is displayed.
( php.ini contains implicited_flush=1)
So contrary to the docs, the ini setting DOES take effect...
CU! Arne
--
The day microsoft creates something that doesn't suck,
is the day they start to sell vacuum cleaners!