PHP Check Question
Posted: 27 Sep 2024, 23:41
Hi, forgive me if this has already been asked and adequately answered, but I haven't found it so far:
I'm new to DirectAdmin and ConfigServer and trying to configure everything properly. I'm confused because the server security check keeps returning:
"You should consider disabling commonly abused php functions, e.g.:
disable_functions = show_source, system, shell_exec, passthru, exec, popen, proc_open
Some client web scripts may break with some of these functions disabled, so you may have to remove them from this list:
Affected PHP versions:
/usr/local/php83/lib/php.ini (/usr/local/php83/bin/php)"
I've run the the "secure php" script in DirectAdmin, and I've examined the file that's pointed to in that message and all the offending functions are included in the disable_functions line in the php.ini file:
Am I missing something? Do those functions need to be listed in that order?
Thanks in advance
I'm new to DirectAdmin and ConfigServer and trying to configure everything properly. I'm confused because the server security check keeps returning:
"You should consider disabling commonly abused php functions, e.g.:
disable_functions = show_source, system, shell_exec, passthru, exec, popen, proc_open
Some client web scripts may break with some of these functions disabled, so you may have to remove them from this list:
Affected PHP versions:
/usr/local/php83/lib/php.ini (/usr/local/php83/bin/php)"
I've run the the "secure php" script in DirectAdmin, and I've examined the file that's pointed to in that message and all the offending functions are included in the disable_functions line in the php.ini file:
Am I missing something? Do those functions need to be listed in that order?
Thanks in advance