How To Tell What PHP Version Your Server Is Running

Learn how to quickly tell what version of PHP your server is using.

How To Tell What PHP Version Your Server Is RunningThis tutorial is part of our WordPress Management tutorial series. In this short tutorial, you will learn how to quickly determine what version of PHP your server is running from your cPanel account.

***

How To Tell What PHP Version Your Server Is Running

When you are managing a website or trying to install a new application, there may be times when you (or your web developer) need to know what PHP version your server is running.

Useful Information

Note: If you are not running a server that uses cPanel, then simply ask your host provider, or use the alternate method provided at the end of this tutorial.

How To Determine The PHP Version Of Your Server Using cPanel

To determine the PHP version of your current WordPress installation, log into your cPanel account …

cPanel Login Screen

Once you have logged into the control panel area, click the ‘expand stats’ link at the bottom of the sidebar menu …

PHP Version

Scroll down the expanded stats sections until you find the ‘PHP version’ number. In the screenshot below, the PHP version is “5.3.28” …

PHP Version

Determine Your Server’s PHP Version – Alternate Method

Here is an alternate method you can use to determine the PHP version of your server.

Open a new, blank text file, and type in the code show below (or just download the file we provide for you at the end of this tutorial) …

PHP Version

You will need to save the file as ‘phpinfo.php’, as shown below …

PHP Version

When saving the file, make sure to choose ‘Save as type: All Files’ as shown in the example below …

PHP Version

After saving the file, upload it to the root directory of your server, either using FTP or via cPanel’s File Manager …

PHP Version

After the file has been uploaded to your server, open up a new browser window and type in the URL address pointing to the file you have just uploaded, e.g. …

PHP Version

A page with technical information will display on your screen, with the current PHP version of your server displayed at the top of the page, as shown in the screenshot below …

PHP Version Information

(PHP Version Information)

Congratulations! Now you know how to determine the PHP version of your server.

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

Disclaimer: We have no association with WordPress, Automattic, or any of the WordPress products mentioned on this website. We may derive financial benefits or affiliate commissions from the sale of products and services advertised on this site. All images remain the copyright of their respective owners and comply with all license terms and agreements of use.

***

Did you enjoy this post? If so, please consider sharing this page with anyone who can benefit from WordPress using the social links below.

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

Originally published as How To Tell What PHP Version Your Server Is Running.