Why disable_functions master value > local value
Hi cpanelers,
I'm using PHP7 and I set the local php.ini to disable_functions = phpinfo and the master value disable_functions is empty.
To my surprise the local php.ini loads phpinfo() and in the output of phpinfo() it shows the phpinfo under disable_functions in the local value and yet it still loads. Anybody know why this is still loading?
TIA
-
Hello, On systems that run EasyApache 4, multiple php.ini and local.ini files manage your system's PHP. Each version of PHP on your systems uses its own php.ini and local.ini file. You must make changes to each file separately. Documentation on changing the configuration through Web Host Manager is available at: MultiPHP INI Editor for WHM - Documentation - cPanel Documentation Thank you. 0 -
BTW the link you gave me has page not found. The problem is that disable_functions is modified in the php.ini and has phpinfo function disabled yet when I run phpinfo() I search disable_functions and phpinfo is listed in the local value. So why would a function that is listed in local value of disable_functions still run phpinfo? 0 -
New BTW the link you gave me has page not found.
I've updated the link for you.0 -
The problem is that disable_functions is modified in the php.ini and has phpinfo function disabled yet when I run phpinfo() I search disable_functions and phpinfo is listed in the local value. So why would a function that is listed in local value of disable_functions still run phpinfo?
Would you mind opening a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.0 -
ticket 7598329 created 0 -
ticket 7598329 created
Hello, To update, the entry was added to /opt/cpanel/ea-php70/root/etc/php.d/local.ini and it now works as expected. Thank you.0
Please sign in to leave a comment.
Comments
6 comments