How to Find PHP Version of Hosting Server

In my attempt to fix internal server errors, I went about looking for simple ways to find the php version which powers the wordpress installation on our web hosting server. Here is the small tip to do it easily.

1. Create New PHP file

Create a new document in Notepad or any other text editor

2. PHP Info data

Type following with no spaces or lines above or below
<?
phpinfo();
?>

3. Save PHP File

Save the file as checkversion.php or any other name you like, but should end with .php

4. Upload to Server

Upload using an FTP client to the root of your domain name where wordpress is hosted.

5 Run File in Browser

Run http://yourdomain.com/checkversion.php in your browser

And a detailed page will reveal all the information about your PHP version and lots of technical details about your PHP core and server configuration which you never knew.

Share with friends

About the Author: P Chandra is editor of QOT, one of India's earliest tech bloggers since 2004. A tech enthusiast with expertise in coding, WordPress, web tools, SEO and DIY hacks.