|
Posted by Matt on 05/27/07 18:59
Rami Elomaa wrote:
>
> Make sure you're not using output buffering, check php.ini for this. Do
> your other scripts work as expectedly? If you do like this:
> <?php
> while($i++<5) {
> print($i);
> sleep(5);
> }
> ?>
> does it print the numbers one-by-one with 5 second intervals or are they
> all printed at once, after 25 seconds when the script exits?
>
It's the latter when running through a browser. I did find output
buffering to be enabled. I disabled it, restarted httpd, but the same
results.
; output_buffering = 4096
output_buffering = Off
12345 is outputted only after the script exits.
Matt
Navigation:
[Reply to this message]
|