How to check PHP version and configuration of your server

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.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Comment