Disable Functions in PHP configuration EasyApache 4
HI,
CSF tool recommends to go to
"Check php for disable_functions
[/opt/cpanel/ea-php55/root/usr/bin/php]"
and
"You should modify the PHP configuration and disable commonly abused php functions, e.g.:
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open"
I went to /opt/cpanel/ea-php55/root/etc/php.ini and added that but has no effect.
Please help to understand (im on a centos 7 with easyapache 4)
thanks
-
Hello, You are using EasyApache 4 on your server and there is 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. You have to edit php.ini file through WHM Login to WHM >> Home >> Software >> MultiPHP INI Editor Please refer this URL for more information : How to Edit Your php.ini File - cPanel Knowledge Base - cPanel Documentation 0 -
Thanks for the explanation! Does this also means that I can define one version of php for one of the websites and therefore have different settings? Hello, You are using EasyApache 4 on your server and there is 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. You have to edit php.ini file through WHM Login to WHM >> Home >> Software >> MultiPHP INI Editor Please refer this URL for more information :
0 -
Does this also means that I can define one version of php for one of the websites and therefore have different settings?
Hello, Yes, MultiPHP functionality is part of EasyApache 4. The following documents explain how this works for cPanel and WHM: MultiPHP Manager for WHM - Documentation - cPanel Documentation MultiPHP Manager for cPanel - Documentation - cPanel Documentation Let us know if you have any questions. Thanks!0
Please sign in to leave a comment.
Comments
3 comments