I am search for the solution for using ob_flush on nginx server.
This is nginx + fastcgi.
I have changed
php.ini: output_buffering = Off
nginx.conf: gzip off;
I also tested with with it:
<?php
set_time_limit(0);
ob_end_clean();
ob_implicit_flush(1);
for($i = 0; $i < 10; $i++)
{
echo $i, "<br />\n";
echo str_repeat(" ",1024*64);
sleep(1);
}
?>
It works fine.
But how to make audl.php working?
Where should i put echo str_repeat(" ",1024*64); in audl.php??
Anyone can help me?
This is nginx + fastcgi.
I have changed
php.ini: output_buffering = Off
nginx.conf: gzip off;
I also tested with with it:
<?php
set_time_limit(0);
ob_end_clean();
ob_implicit_flush(1);
for($i = 0; $i < 10; $i++)
{
echo $i, "<br />\n";
echo str_repeat(" ",1024*64);
sleep(1);
}
?>
It works fine.
But how to make audl.php working?
Where should i put echo str_repeat(" ",1024*64); in audl.php??
Anyone can help me?