How to create a PHPinfo file on my account?

The phpinfo.php is a file that lets you easier see the information about the server you are on. This includes versions of your PHP, Apache/IIS, GD etc. If you don’t have one, you can easily create it through your cPanel:

Log into your cPanel -> File Manager and create a file called phpinfo.php.

*Note the file name can be whatever you like, only the extension must be .php (FileName.php).

Once you have the file created, click the Code Editor button:

phpinfo

cPanel Hosting from WebhostFace

 

and place the following text:

<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>

Create PhpInfo 3

Click on Save changes and that’s it. To access the information, type in your browser’s address bar yourdomain.com/yourfilename.php and you will see your server PHP settings.

If you are a client of WebHostFace, feel free to contact our 24/7 customer service for further assistance!