PHP-FPM Enhanced Configuration
At the moment we can't configure PHP-FPM globally for all domains that already have FPM active , we have to change the settings for each domain and only the following settings :
Also if we want to add or change new values we have to edit
/var/cpanel/userdata/<CPANEL USERNAME>/<DOMAIN>.php-fpm.yaml for each domains which this is a real pain and will take weeks to do it for a high number of domains.
There are other settings hard coded into cPanel scripts which we can't change :
We need a way / file to set a globally config file so it can apply for all domains new or old ( php-fpm.d/domain.name.conf ) ( disable_functions , error_reporting , timeout , slowlog on , path , etc... ).
Also as for all the domains the general php-fpm config file is generated by cPanel which we can't easily change.
E.g : /opt/cpanel/ea-php56/root/etc/php-fpm.conf ( emergency_restart_interval , emergency_restart_threshold , process_control_timeout ).
This is really needed for tuning , better performance , easy to control.