I show you step by step how to check your site’s current PHP version and also how to update the PHP version in your Hostgator Cpanel.
You don’t need any technical knowledge to update PHP. With a few clicks in your Cpanel, you will complete the upgrade in a couple of minutes.
Hostgator by default will have a recent version set up for your account. It might not be the latest, but your site will work fine. With my guide, you can check what PHP version your site is using and if you need to upgrade.
Let’s get started.
- Log into your Hostgator Cpanel
- The PHP selector
- Your current PHP version
- How to update your PHP version
- Check your website after changing PHP versions
- Update PHP version video tutorial
- Frequently asked questions
Log into your Hostgator Cpanel
First, we need to log into our Hostgator Cpanel account. This is the login page.
Once we log in, we come to our Hostgator Cpanel dashboard.
On our dashboard, we are looking for the ‘Software’ section. You can scroll down the page, or you can select the ‘Software’ link in the main menu on the left.
The PHP version selector
In the ‘Software’ section, we are looking for the ‘PHP selector’ icon.
After we select the ‘PHP Selector’ icon, we come to this page.
Your current PHP version
The folders you can on this page are from your hosting company. The folder we need is called ‘Public_HTML’. Click on that folder to find your website’s current PHP version.
Your current PHP version is shown in the drop-down window. You can see my website’s current PHP version is 7.0.
How to update your PHP version in your Hostgator Cpanel
To update your PHP version, click on the down arrow in the drop-down menu. In that menu, select the version you want to upgrade to.
Hostgator has two options for me, I can stay with PHP 7.0 or upgrade to PHP 7.1. I am going to upgrade to PHP 7.1. To upgrade, select the version in the menu and click on the ‘Update’ link.
After you click on ‘Update’, you get this confirmation message.
If you return to the previous page, you can see confirmation of your current PHP version.
Check your website after changing PHP versions
I would recommend you visit your website after changing your PHP version. To make sure changing PHP versions hasn’t caused an issue with your site.
I have checked my site, and everything is working fine.
That is how you check and upgrade your PHP version in your Hostgator Cpanel.
Update PHP version video tutorial
Frequently asked questions
You can update your version of PHP in your Cpanel. My post shows you how to update PHP in Hostgator. I have another post on how to update PHP in Bluehost. If you are using another hosting company, leave me a comment on one of my posts, and I will do a tutorial for you.
The latest version of PHP at the time of writing this post is 7.3.
No, PHP 7.0 is no longer supported.
You can’t update your PHP version in WordPress. You update it in your hosting Cpanel.
You can check your PHP version when you select the PHP selector icon in the Hostgator Cpanel. Your current version plus versions you can upgrade to are here. There is also a plugin you can install to show your current PHP version, the plugin is called ‘Display PHP version’.
Your hosting company will set up your website with a PHP version that works fine. As you can see with Hostgator, it isn’t the latest version.
Should you wish to update your PHP version, then you can do this with just a few clicks in your Cpanel. I would recommend that you go to your website after making your changes to ensure your website is loading correctly.
If you have a hosting package with Bluehost, I have a tutorial on how to upgrade the PHP version in Bluehost’s Cpanel.
I have been using Hostgator’s shared hosting package for many years now and have been happy with their support and service. To view Hostgator’s latest deals on hosting you can visit their homepage at Hostgator.com. (This is an affiliate link, that means I get a commission on sales through this link at no extra cost to you.)
If you have any questions about my post, please leave them in the comments box below.
What hosting company do you use?
Have you ever had to upgrade your PHP version?
I look forward to reading your comments.