Difference between MultiPHP Manager and Editor for disabled functions?
When trying to install the APCu module, I got the following error:
Warning: popen() has been disabled for security reasons in PEAR/Builder.php on line 525
ERROR: failed to run `phpize'
I googled this and was expecting to find something disabled undr MultiPHP Manager > Manage Settings > Disable Functions, but nothing is listed there. I know some things like system are normally listed but I had to remove these for certain scripts to run. The field being empty is what I expected.
=========================
=========================
My host fixed this by going to MultiPHP Ini Editor > Editor Mode > Select PHP version (I only have one version installed). At around line 304, there's this line;
disable_functions = "system,passthru,exec,proc_close,.." which went on quite a bit.
=========================
=========================
I thought these were effectively the same. I thought this INI file, would match up with the MultiPHP Manager settings when the PHP version is the same, but clearly they don't match.
I've never touched the INI before, and removing functions from the MultiPHP Manager has allowed the scripts that required some disabled functions to be removed, to work, so I've never needed to visit the INI.
What is the difference between the Manager's settings and the INI listed above please?
-
Hey there! Is it possible the domain where you had this issue wasn't using PHP-FPM? If not, then editing the configuration in the main ini would be the way to edit the disable_functions setting. 0 -
Hey there! Is it possible the domain where you had this issue wasn't using PHP-FPM? If not, then editing the configuration in the main ini would be the way to edit the disable_functions setting.
Hello! All accounts are using PHP-FPM. So are the two places shown in the screenshots, editing the same thing? If so, it looks like the interface in the first screenshot is bugged as it isn't matching? Thanks0 -
The settings do not edit the same area. The PHP-FPM settings would get written to files in cat /opt/cpanel/ea-php##/root/etc/php-fpm.d while the PHP configurations for individual versions would get written to /opt/cpanel/ea-php##/root/etc/php.ini 0
Please sign in to leave a comment.
Comments
3 comments