• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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