Re: Console Behavior
| From: | Yasuo Ohgaki | Date: | Thu, 31 Oct 2002 16:43:46 +0000 |
| Subject: | Re: Console Behavior | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90386@lists.php.net to get a copy of this message | ||
It's known issue...
--
Yasuo Ohgaki
Adam Voigt wrote:
> 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
>
>
>