In this tutorial we will show you how to create a phpinfo.php page, how to use it for information and why it could be useful for you. PHPinfo page is very useful when you want to know the PHP version used on the server where your website is hosted. You can view the PHP version and other technical details and extensions of the PHP installation.
PHPinfo page display PHP version, server hostname, operating system and build etc.
How to Create PHPinfo.php Page
Creating a phpinfo.php page is very easy and simple task. Just follow these steps:
- Login to your cPanel and go to File Manager.
- Go to public_html and create a new blank file, save it as phpinfo.php
- Now edit this file and paste this piece of PHP code into it:
<?php phpinfo (); ?>
Save the file. Now navigate to the file in your browser. Like www.example.com/phpinfo.php and you will see the phpinfo page with all details about your PHP installation.
Checkout our web hosting packages which are fully compatible with all applications and have latest version of PHP.