How to check PHP Version in cPanel

Check PHP version locally
In Windows you can check the PHP version using CMD or Git Bash. Even the PowerShell can use for this. You just need to add below code.
php -v
how to check PHP version in cPanel
This is bit vary from server to server.
Check PHP version in NameCheap Hosting
Follow the steps below:
- Logged into the cPanel
- Locate to Software section
- Click on
Select PHP Version
- In the landing page you’ll see the activated PHP version as below.
Check PHP version in InMotion Hosting
Follow the steps below:
- Login to cPanel
- Under General Information on the right panel, click Server Information
- Under the Item column, find PHP Version
- In the Detail column, note the version number
Hope you’ll enjoyed this code snippet to check the PHP version locally. That is all from this tutorial. Hope you enjoyed this tutorial. Happy learning ahead. Thanks for reading.
Recommended: Please follow our step by step guide how to create a WordPress Theme from scratch. You’ll be able to create your own theme at the end of these lessons.