SOLVED disable_functions in PHP.INI

furquan

Well-Known Member
Jul 27, 2002
473
4
168
Hello Everyone,

I am currently trying to setup CSF on my server and section where in it tells us to disable_functions in the PHP Configuration, no matter how many times i enter the details, After every restart of Apache those settings are gone :(

disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open

I am running various version of PHP and i have changed this variable in all the php.ini files :-

/opt/cpanel/ea-php71/root/etc/php.ini
/opt/cpanel/ea-php70/root/etc/php.ini
/opt/cpanel/ea-php56/root/etc/php.ini
/opt/cpanel/ea-php55/root/etc/php.ini

But after they go away after Apache restart.

Can somebody tell me what am i doing wrong ?

Thank you for your time
 

SysSachin

Well-Known Member
Aug 23, 2015
604
49
28
India
cPanel Access Level
Root Administrator
Twitter

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Could you verify which version of cPanel is installed on your system, and which PHP handler you are using for each version of PHP?

Thank you.
 

furquan

Well-Known Member
Jul 27, 2002
473
4
168
Thank you so very much for getting back Michale,

The issue has been resolved and i have managed to do it as SysSachin suggested !

Thank you both of you :)
 
  • Like
Reactions: cPanelMichael