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.
1. Open notepad, copy and paste the following code.
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.