Change Default PHP-FPM settings on cPanel/WHM Server
- Create the file /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
- Add you custom settings
- Remove existing config files using following command
rm -rf /var/cpanel/userdata/*/*.php-fpm.yaml
- Rebuild New config files using following command
/scripts/php_fpm_config --rebuild
-
You may need to enable the php-fpm for the sites from whm again.