I am experimenting a bit with output buffering with php-fpm[1]. In my default
setup I can't get this to work. Currently I am only getting this to work when I
add this to my virtualhost config:
<Proxy fcgi://localhost>
ProxySet enablereuse=on flushpackets=on
</Proxy>
I assume this will impact the rest of the website. Is there a way to limit this
to a directory or file? I prefer to have this done in a .htaccess file because
I am not sure if I will be able to access httpd conf files.
[1]
header( 'Content-type: text/html; charset=utf-8' );
echo 'Begin ...<br />';
for( $i = 0 ; $i < 10 ; $i++ )
{
echo $i . '<br />';
flush();
ob_flush();
sleep(1);
}
echo 'End ...<br />';
?>