• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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