Disable PHP disable_functions on Cpanel Server

On a Cpanel Server using CentOS 7 + php-fpm, site phpinfo() shows few functions are set to disabled in disable_functions.

PHP disable_functions

I checked server wide PHP configuration in WHM for the PHP version the site is using. There is no disable_functions specified.

WHM php.ini editor

This is because in Cpanel server running in PHP-FPM, you need to edit php-fpm pool config file at

Replace ea-php73 with whatever PHP version you selected for this web site.

Remove the line

Restart php-fpm with

See Cpanel Server

Add a Comment

Your email address will not be published. Required fields are marked *