• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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