Hi all,<br><br>I am trying to flush content before the end of PHP script. With below script, it works under lighttpd, but not work after changing to nginx. <br><br>&lt;?php<br><br>ob_flush();<br>echo &quot;The first line&lt;br /&gt;&quot;;<br>


flush();<br>sleep(2);<br><br>for ($i=10; $i&gt;0; $i--)<br>{<br>    echo $i . &quot;&lt;br /&gt;&quot;;<br>#    echo str_repeat(&quot; &quot;,8192);<br>    ob_flush();<br>    flush();<br>    sleep(1);<br>}<br>ob_end_flush();<br>


?&gt;<br>