• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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