HelioHost Posted February 23, 2019 Posted February 23, 2019 Username: astron, Server: Tommy, Main domain: astron.heliohost.org Some of the things that I have discovered and that could be changed orgiven the possibility of changing to the user through cpanel.The firstirst - Public Display of PHP Errors EnabledThe server is set to display PHP errors. This is not recommended forproduction environments as it may cause sensitive information to bepublicly disclosed. You should contact your hosting provider or systemadministrator and ask them to set the display_errors PHP setting to Off. The second - it appears if to use php 7.2...There are enabled such a functions, what would be better, if they aredisabled by default and there is possible turn on if they are reallyneeded. Here are these functions:exec, system, pcntl_exec, popen, proc_open, shell_execIf possible, please add them to the disable_functions PHP setting.Sorry, if I'm wrong. *Kalju kaljukass@gmail.com *
wolstech Posted February 23, 2019 Posted February 23, 2019 The display_errors is intentionally enabled because the default is a very confusing and generic 500 error that most people can’t figure out. Users who really don’t want them shown can add error_reporting(0); to their scripts to suppress them. As for the system functions not being disabled, they should be...we’ll take a look.
Krydos Posted February 23, 2019 Posted February 23, 2019 See https://www.helionet.org/index/topic/35190-hh191578-fwd-php-settings/?p=156428
Recommended Posts