• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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