How to Create phpinfo File and Check PHP Information

There are Different Methods to check php information 

Check PHP Information using cPanel

  1. Login to the cPanel account
  2. There is a MultiPHP manager  tool under the Software section
  1. You see there is a PHP version mentioned

Checking the PHP version by creating phpinfo.php file in the File manager

  1. Login to the cPanel account
  2. Go to file manager
  3. Under the public_html folder press on the +File option for creating a new file
  1. Create a new file with phpinfo.php name under /public_html directory
  1. Open that file in Edit mode just right-click and click on the EDIT option it will open new windows. Write down the below code and save the file.

<?php

phpinfo();

?>

  1. Now open a new tab and type the Url http://yourdomain.com/phpinfo.php (Here your domain will be domain owned by you)it will show output like the below. It will show all information about PHP.

If you are looking for Managed WordPress hosting or host your php website application dont forget to check our plans at WebhostUK.CO.UK

Author – Robert L