Re: Console Behavior
| From: | Adam Voigt | Date: | Thu, 31 Oct 2002 15:59:25 +0000 |
| Subject: | Re: Console Behavior | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90385@lists.php.net to get a copy of this message | ||
Figured it out, turns out I had actually bothered to copy the php.ini
from the recommended on the server it didn't work on, if I removed the
config file (forcing PHP to use the default options), it worked fine,
I narrowed the problem down to the output_buffering setting, changing
it from 4096 (probably designed for website hit performance) to 0 made
it work (with or without the call to flush()).
Now my only question is, shouldn't flush() force the buffer to be
sent out despite the config setting?
Adam Voigt
adam.voigt@cryptocomm.com
On Thu, 2002-10-31 at 10:30, Rasmus Lerdorf wrote:
> Running your code here gives me:
>
> 8:27am thinkpad:~> ./foo
>
>
> Attach code? > 12345
>
>
> 12345
>
>
> 8:27am thinkpad:~>
>
> Seems to work fine.
>
> -Rasmus