Plesk mod_fcgid + php flush() function enable

I set following option in /etc/httpd/conf.d/fcgid.conf file which solves the problem generally (but it would not when Plesk is installed):OutputBufferSize 0 Try to configure OutputBufferSize option for the exact domain, for this create vhost.conf filein domain document root (usually /var/www/vhost/domain.tld/conf folder), add OutputBufferSizeoption with necessary value there and run /usr/local/psa/admin/sbin/websrvmng -a -v

php Flushing output

  Flushing output void flush ( void ) There is a special function in PHP called flush(), which is not really related to output buffering because it works with standard output, however it is so very similar to what we’ve just been looking at that it makes sense to cover it here. Flush() sends all output out immediately, without …