Skip to main content

How to disable phpsysinfo?

Comments

4 comments

  • cPanelMichael
    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
  • tejli
    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
  • tejli
    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
  • cPanelMichael
    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.