How to check PHP version and configuration of your server

check php
Expert Contributor Rajesh Chauhan

Check php

A very useful inbuilt function of PHP called phpinfo(); can help us in checking the PHP version as well as configuration of the server.

The function is really easy to run, all you have to do is follow these steps:

  1. First, login to your cPanel account that GoogieHost provides then under Files section click on the File Manager menu.openfilemanager
  2. In the new Tab that opens up, Navigate to public_html directory.
  3. Upon opening the directory, click on New File at the top and name it as phpinfo.phpCreate phpinfo file
  4. Locate this file in the list and select it, now click on Code Editor option located at the topopen code editor
  5. Add the following lines to the file and then click on Save Changes
    ?>edit the file
  6. Now open a new tab in the browser and type the following in the address bar-
    (replace “” with your actual domain name)

After checking the information, delete the newly created phpinfo.php file. Skipping this step can lead to security risks.

Got stuck somewhere? Feel free to contact us.

Know this GoogieHost Writer 😂

Rajesh Chauhan

GoogieHost is one of the leading free web hosting provider on the internet over 300000 satisfied clients across the globe. We also offer Affordable SEO Web Hosting and Digital Marketing service to give give wings to your online business. Unlimited FREE HOSTING.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.