Why disable_functions master value > local value

zeki

Member
Jun 19, 2007
12
0
51
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
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 
Last edited by a moderator:

zeki

Member
Jun 19, 2007
12
0
51
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?
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.