How to disable phpsysinfo?
There is a script that shows infos of the server. I want to disable to show the system infos. Here is the script: phpsysinfo.github.io/phpsysinfo/
How can I disable it without to brake other scripts in server?
Thanks.
-
Hello, You can try adding "phpinfo" to the disable_functions entry in your php.ini file via "Editor Mode" in Web Host Manager: "WHM Home " Software " MultiPHP INI Editor" Or, with EasyApache 3: "WHM Home >> Service Configuration >> PHP Configuration Editor" Thank you. 0 -
Hello, You can try adding "phpinfo" to the disable_functions entry in your php.ini file via "Editor Mode" in Web Host Manager: "WHM Home " Software " MultiPHP INI Editor" Or, with EasyApache 3: "WHM Home >> Service Configuration >> PHP Configuration Editor" Thank you.
Still working after adding phpinfo. In the other server is not working! It says: This needs access to /proc and /sys to work. How to disable /proc and /sys ?0 -
RESELVED: chmod to 0400 the proc and sys directory. Am using CSE to chmod(its a great editor & can be accessed under plugins after you install). ;) 0 -
Hello, Keep in mind that if /proc/mounts is not readable by non-root users, cPanel quota reporting can fail. Instead, you may want to try the example in this third-party URL: PHP.INI settings: Disable exec, shell_exec, system, popen and Other Functions To Improve Security Thank you. 0
Please sign in to leave a comment.
Comments
4 comments