In my post, I show you how to update the PHP version on Hostgator, step by step.
PHP version releases receive support for two years. Ensure your site is using a supported version. Supported PHP versions receive security updates to help keep your site secure.
Hostgator sets a PHP version for your website when your purchase a hosting package. My article shows you how to check what PHP version your blog has and how to upgrade.
Let’s get started.
- Step One – Log In To Your Hostgator Cpanel
- Step Two – Select ‘Software.’
- Step Three – Select ‘PHP Selector.’
- Step Four – Check Your Current PHP Version
- Step Five – Update PHP Version
- Step Six – Check Your Website
- How To Upgrade Your PHP Version On Hostgator Video Tutorial
Step One – Log In To Your Hostgator Cpanel.
First, log in to your Hostgator Cpanel account.
Here is Hostgator’s Cpanel dashboard.
Step Two – Select ‘Software’
On the dashboard, select ‘Software’ from the left-hand side menu.
Step Three – Select ‘PHP Selector.’
In the ‘Software’ section, select the ‘PHP selector’ icon.
Step Four – Check Your Current PHP Version.
To check your current PHP version, open the root directory of your website.
Your website root directory is in the ‘public_html’ folder. Click to open that folder.
The current PHP version for your site is in the drop-down window. On my website, the current PHP version is 7.0.
Step Five – Update PHP Version
To update the PHP version, click on the drop-down menu.
Select the PHP version you want, then click on ‘Update’ to confirm.
Once the update is complete, you receive a confirmation message.
As of December 2020, the latest PHP version is 7.4.
Step Six – Check Your Website.
After upgrading the PHP version, visit your website to check that everything is working. If your site has loading errors, return to the PHP selector and set the PHP version to the previous setting.
How To Upgrade The PHP Version On Hostgator Video Tutorial
PHP versions receive support for two years. Ensure your website is using a supported version to help keep your website secure.
Don’t rush to update to a recent release. It takes time for WordPress, themes developers, and plugins to update their products and services to be compatible.
Every time you update the PHP version for your blog, go to your website to ensure everything loads. Should you find errors, change the PHP version to the previous setting.
If you have a website with Bluehost hosting, check out my ‘How to upgrade the PHP version in Bluehost’s Cpanel‘ post.
I also have a YouTube channel with many blogging tutorials.