Why is phpinfo() Disabled and How to Enable It

The phpinfo() 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.

Was this answer helpful?

Related Articles

How to Make All .html Pages to Run as .php Files Using .htaccess

PHP can be extremely useful when used in conjunction with HTML to enhance the features of a...

How to change PHP timezone for your website

If you have noticed that the correct time is not displaying in your PHP scripts it is because...

How to change my PHP version

We are glad to inform you that you can change the current version of PHP even on shared hosting...

How to change the max memory and max upload limit

Changing of PHP variables is easy on our shared hosting plans. You have full control and you...

How to Set Custom PHP Version per Directory

The PHP version is important not only for speed and performance. There are different...

Powered by WHMCompleteSolution