Why is phpinfo() Disabled and How to Enable It

Updated on Jun 11, 2019

The phpinfo() function shows information about server settings and 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 our 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.

We hope you find this article useful. Discover more about FastCloud - the top-rated Hosting Solutions for personal and small business websites in four consecutive years by the HostAdvice Community!

SSD Cloud Hosting

  • Free Domain for life
  • 24/7 Technical Support
  • Fast SSD Storage
  • Hack-free Protection
  • Free Script Installation
  • Free Website Transfer
  • Free CloudFlare CDN
  • Immediate Activation
View More