Skip to main content

syntex to change pm.* value in php-fpm's conf file

Comments

2 comments

  • uadm
    for reference: [root@server ~]# grep pm_ /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml pm_max_children: { name: 'pm.max_children', value: 20 } [root@beeblio-webserver ~]# grep child /opt/cpanel/ea-php56/root/etc/php-fpm.d/domain.co.il.conf pm.max_children = 5 [root@beeblio-webserver ~]# /scripts/php_fpm_config --rebuild --domain=domain.co.il info [php_fpm_config] Rebuilding ... info [php_fpm_config] Dequeued the following domains info [php_fpm_config] Dequeued domain.co.il info [php_fpm_config] rebuild_files: working on domain (domain.co.il) info [php_fpm_config] Rebuilding apache conf info [php_fpm_config] Rebuild Complete [root@beeblio-webserver ~]# grep child /opt/cpanel/ea-php56/root/etc/php-fpm.d/domain.co.il.conf pm.max_children = 5
    0
  • cPanelMichael
    Hello @uadm, The following post provides a working example of how to modify those values globally: Thank you.
    0

Please sign in to leave a comment.