• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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