• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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