• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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