HOW TO: Find PHP Version Of Your Web Server

Got a PHP Script that will run only for a specific PHP version? Want to install WordPress on a server, but you are not sure whether it will meet the requirements? Use this simple tip to remove the hassles.

Check PHP Version

1. Open notepad, copy and paste the following code.

<?
phpinfo();
?>

2. Save the file as checkversion.php (or some name with .php extension).

3. Now upload this file using any FTP Client software (I prefer Filezilla) and you can check other alternatives here.

4. Now open your web browser, and type this URL – http://sitename.com/checkversion.php

You will get a page with all the details regarding your host. From there you can get the PHP version and your server configuration easily.

4 thoughts on “HOW TO: Find PHP Version Of Your Web Server”

  1. I know about this since I have been doing some simple programming in PHP. Anyway, I think PHP version info is also displayed somewhere in cPanel, isn't it?

    Reply
  2. nice trick.. well i already knew my PHP version as had checked out some days back in server settings..

    Reply

Leave a Comment