How to see all PHP settings with a phpinfo.php File

This tutorial will show you how to make a phpinfo.php file.

Create a new file using the file CPanel File Manager and name it whatever you want, but make sure it has the .php extension at the end.

In the file put this code:


Go to this file in your browser and you will see the PHP version and configuration information.
  • PHP
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Change PHP version

In CPanel go to Software -> Select PHP Version.There you can select the version of PHP and...

Setting Custom PHP Options with Your Own Custom php.ini File

1. In the same directory as the files you want to affect put this in the .htaccess file:It will...

Setting the PHP Timezone in the php.ini File

 If you get this error: Warning: date(): It is not safe to rely on the system's timezone...

PHP 7 is Faster Than PHP 5.6

Try using the "Select PHP Version" feature in CPanel to switch to PHP 7.Be aware that this will...

MYSQL no longer supported in PHP 7

As of December 31 2018 PHP 5.6 is no longer supported with security updates.This means moving to...