MilesWeb
Leading Web Hosting Provider in India Since 2012.
Award-winning Web Hosting Company
Everything that you need to build, host and manage a website is available at just 99/mo

How Do I Check PHP Version And Configuration?

The Phpinfo() function s used for checking the current PHP configuration. It can also be used for the purpose of debugging because it comprises of all EGPCS (Environment, GET, POST, Cookie, Server) data.

In order to run the function, follow the steps mentioned below:

Login to your cPanel account, go to Files > File manager menu

Go to ‘public_html’ directory, click on ‘New File’ and create ‘phpinfo.php’ file

Locate the newly created file in the list and click on ‘Code Editor’

Add the lines of the code mentioned below to the file and click on Save changes

<?php

phpinfo();

?>

In order to check detailed information about PHP configuration of your account, just open the following link in your browser:

http://yourdomain.com/phpinfo.php

Replace yourdomain.com with your domain name.

Note : Please don’t forget to delete the file once you are done with checking all the necessary information for security reasons.

2 thoughts on “How Do I Check PHP Version And Configuration?

  • December 11, 2014 at 4:52 am
    Permalink

    You should be a part of a contest for one of the greatest blogs on the web.
    I will highly recommend this web site!

    Reply
  • February 22, 2015 at 6:17 am
    Permalink

    Fantastic website. A lot of helpful info here. I am sending
    it to some friends ans additionally sharing in delicious.
    And certainly, thank you in your effort!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *