Symptoms
There are occasions where trying to install a PHP module using the PECL utility might fails without throwing any specific error message.
Description
More often than not, in these situations there are some functions, required for PECL's proper functionality, that have been disabled in PHP's main configuration file. You usually can list the disable_function directive with the following command: (For PHP 8.0 here)
grep disable_functions /opt/cpanel/ea-php80/root/etc/php.ini
disable_functions = apache_child_terminate,apache_setenv,chgrp,chown,curl_multi_exec,define_syslog_variables,eval,exec,highlight_file,openlog,passthru,posix_kill,posix_setpgid,posix_setsid,posix_setuid,shell_exec,show_source,syslog,system
Workaround
You should temporarily enable these functions using the steps in the below article and then try to install the module again:
Comments
0 comments
Article is closed for comments.