• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How can i set PHP_FCGI_CHILDREN??

MiguelG

Basic Pleskian
Hello, i can't find the fast cgi wrapper to set the env variable PHP_FCGI_CHILDREN where can i put this??
 
Hi MiguelG,

PHP_FCGI_CHILDREN can not be put into wrapper, simply because it is a binary file:
/var/www/cgi-bin/cgi_wrapper/cgi_wrapper

However, you can try adjust server-wide setting (FcgidMaxProcesses, will be applied to all sites)
/etc/httpd/conf.d/fcgid.conf
FcgidMaxProcesses 20
 
Last edited:
Hi again,

Sorry for bring up this topic again but what i need is to set the PHP_FCGI_CHILDREN env variable. I've googled and i've readed about editing the wrapper file but as you said, with plesk it's a binary file, so how can i set this variable then? i need it to use with xcache (php opcode cache)

Hi MiguelG,

PHP_FCGI_CHILDREN can not be put into wrapper, simply because it is a binary file:
/var/www/cgi-bin/cgi_wrapper/cgi_wrapper

However, you can try adjust server-wide setting (FcgidMaxProcesses, will be applied to all sites)
/etc/httpd/conf.d/fcgid.conf
FcgidMaxProcesses 20
 
Back
Top