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 Info

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.

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org

Disclaimer: WordPress and its related trademarks are registered trademarks of Automattic, Inc. This site is not affiliated with nor sponsored by Automattic, Inc. or the WordPress Open Source project. This site and the services and products offered on this site are not affiliated, associated, sponsored, or endorsed by WordPress, nor have they been tested, reviewed, or certified by WordPress. The owner, contributors and/or advertisers may derive financial benefit from sales of items linked to, advertised, or reviewed on this site.

***

Have you found this post useful? If so, please use the social links below to share this information with anyone thinking of starting or growing a business online.

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and has authored hundreds of FREE WordPress tutorials for beginners. WPCompendium.org provides detailed step-by-step tutorials that will teach you how to use WordPress with no coding skills required and grow your business online at minimal cost!

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