• 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

Where to set PHP_FCGI_MAX_REQUESTS?

Thomas Becker

Basic Pleskian
Hello,
please give me an idea where to set PHP_FCGI_MAX_REQUESTS using fcgi on Plesk 10 and CentOS 6 with PHP 5.3.3.
Which config file is a good choice for this variable?

Thanks.
 
Look at following config file:

# grep PHP_FCGI_MAX_REQUESTS /etc/sw-cp-server/applications.d/plesk.socket.sh
"PHP_FCGI_MAX_REQUESTS" => "10"
 
Thanks, Igor.

But this does set the variable for the Plesk Panel, right?

I want to set it for all virtual hosts on the system.
Where to set it?


When I add the line
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 5000
to /etc/httpd/conf.d/fcgid.conf and then doing a php info, after restarting apache, the variable PHP_FCGI_MAX_REQUESTS is not listed under "Environment". So I'm not sure if that is the right way to set it for the vhosts.
 
Last edited:
Back
Top