ello,
Please revert any modifications you have made and let us know if the steps outlined below are helpful:
1. Create the /var/cpanel/ApachePHPFPM directory:
Code:
mkdir /var/cpanel/ApachePHPFPM
2. Create the /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml file:
Code:
touch /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
3. Edit /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml using your preferred text editor (e.g. vi, nano) so that it looks exactly like this:
Code:
php_admin_value_disable_functions : passthru,system
In this example, "passthru,system" are left as disabled functions. No other lines exist before or after this entry in this file.
4. Regenerate the PHP-FPM configuration files via:
Code:
/scripts/php_fpm_config --rebuild
Thank you.
https://forums.cpanel.net/threads/php-disable_functions-in-php-fpm.613903/
https://forums.cpanel.net/threads/enabling-php-fpm-forces-disable_functions.590799/#post-2391379