Hostgator – How To Update PHP Version – Step By Step Guide

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 purchasing a hosting package. My article shows you how to check what PHP version your blog has and how to upgrade.

Let’s get started.

Hostgator – Update PHP Version

Step One – Log In To Your Hostgator Cpanel

First, log in to your Hostgator Cpanel account.

Hostgator Cpanel log in page

Here is Hostgator’s Cpanel dashboard.

Hostgator Cpanel dashboard

Step Two – Select Software

On the dashboard, select ‘Software’ from the left-hand side menu.

Software link

Step Three – Select PHP Selector

Select the ‘PHP selector’ icon in the ‘Software’ section.

Select 'PHP selector'

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.

Public_HTML folder

The current PHP version for your site is in the drop-down window. On my website, the current PHP version is 7.0.

Current PHP version

Step Five – Update PHP Version

To update the PHP version, click on the drop-down menu.

Select PHP version

Select the PHP version you want, then click on ‘Update’ to confirm.

Once the update is complete, you receive a confirmation message.

PHP preference updated

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

Update PHP version in Hostgator - B...
Update PHP version in Hostgator - Beginner's how to guide

Conclusion

PHP versions receive support for two years. Ensure your website has a supported version to help keep your website secure.

Don’t rush to update to a recent release. It takes time for WordPress, theme 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.