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:

 

and place the following text:

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

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!

WebHostFace

Share
Published by
WebHostFace