LikeRock Web Hosting Blog
20Mar/12Off

How to check what version of PHP is installed?

PHP Logo

There are several web applications like Joomla, WordPress, Drupal, etc. that require you to know what version of PHP is installed or available by your hosting provider.  If you've ever wondered how to find out, here is a quick tip on getting the info you need:

  1. Create a new file with a .php extension. Eg. phpinfo.php
  2. Next place the following in the file:
    1
    2
    3
    
    <?php
    phpinfo();
    ?>
  3. Upload the file to you the document root directory, usually called www or public_html
  4. Pull up your page in the browser. Eg. http://www.yourdomain.com/phpinfo.php
  5. You should see a lot of relevant information about what version of PHP is installed along with which extensions, etc.

That's it!  If you have any questions or problems, let us know, we'll try to be as helpful as possible.

   
  • RSS
  • Facebook
  • Google+
  • LinkedIn
  • Twitter
  • Delicious
  • Slider