I\'ve turned off the output buffering in PHP by setting output_buffering = off
in php.int but when runnng the simple code like that:
Try adding flush()
and ob_flush()
see at php.net
will look something like this
<?php
echo "Hello ";
ob_flush();
flush();
sleep(3);
echo "World";
?>
Ok, It seems that I've resolved the issue. The secret was setting implicit_flush to On in php config file. But that raised a question for me. In such a case what's output_buffering option for since it doesn't work as in my example?