Why is phpinfo() Disabled and How to Enable It

The phpinfo() the function shows information about server settings and the Kernel version. Such information can be used for malicious activity and hacker attacks on your website. For stronger security, we have disabled that function, as we keep a high level of security on all our servers.

Keep in mind that if you still want to use the phpinfo() function, you can easily disable our custom mod_security rules for your account. This is NOT recommended as you will be left unprotected by our custom rules, but you will be able to use the function without any issues at all.

You can see the tutorial on how to use ModSecurity via cPanel. Following the steps highlighted in the article, you will be able to easily disable/enable the feature for your account, or any of the domains on it.

Leave a Reply