Unable to install a module using PECL
When you attempt to install a module via PECL, the installation fails with this error:
ERROR: failed to run `phpize'
Check to see if the 'popen' function is listed in the respective PHP version's "Disabled Functions":
grep disable_functions /opt/cpanel/ea-php*/root/etc/php.ini
If 'popen' is listed, it should be removed, as this function is required for PECL to install PHP modules.
disable_functionsfeature in PHP has changed as of version 8.0, which impacts all cPanel & WHM versions. Functions that have been disabled will behave as if they have not been declared, which means that the
get_defined_functions()will never include disabled functions. This causes an issue with PECL when the ’exec’ function has been added to the