• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

mod_fcgid + php flush() function

K

KamilZ

Guest
Hello,

I am using Parallels Plesk Panel 9.2.1 and I have problems with php flush() function. I set php as FastCGI and after that flush() function does not work. It works well with php as CGI and Apache Module but when I change it to FastCGI it stops working (and I need php as FastCGI).

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

I think there must be an additional option in Plesk settings which causes output buffering.
If you could help me, I would be grateful!

Regards,
Kamil
 
Hello

Try to configure OutputBufferSize option for the exact domain, for this create vhost.conf file
in domain document root (usually /var/www/vhost/domain.tld/conf folder), add OutputBufferSize
option with necessary value there and run
/usr/local/psa/admin/sbin/websrvmng -a -v
 
Back
Top