How to update php version on hostgator

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.

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

Advertisement

HostGator Web Hosting

Step Three – Select ‘PHP Selector.’

In the ‘Software’ section, select the ‘PHP selector’ icon.

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

Conclusion

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.

Similar Posts

6 Comments

  1. Hi John,
    Thank you! That was helpful. When I updated from the default 5.6 on Hostgator this morning, I didn’t see an option for 7.3 — looks like I’ll be on the phone to them today to follow up.

    1. Thank you, Cheryl, for your kind comment.
      I used to have a site hosted on Hostgator and they did not offer me an option to upgrade to the latest PHP version. I don’t know if it is a Hostgator thing or if they only offer it on their best Hosting plans. After you speak to Hostgator, would you kindly drop a comment here so others can get an answer to this? Good luck!

      1. I can confirm, Hostgator is not offering anything above 7.1 at the moment. Some say it is because they don’t want the support tickets of breaking everyone’s out-of-date websites. However, they can designate a default for the server (like 5.6 or 7.0), forcing the user to manually have to choose a newer version. Why they don’t….I don’t know. But 7.1 is going to be kicked to the curb soon with everything pushing for 7.3.

        1. Hi James, thank you so much for writing this. I stopped using Hostgator last year so I lost access to my Cpanel. That fact that PHP versions are only supported for two years, makes Hostgator’s choice to go with older versions, not very customer friendly.

          1. I agree. They also have some of the slowest SQL db speeds when it comes to making anything useful with PHP (ie, WordPress). Both of these issues combined make Hostgator a poor option for modern websites with any kind of traffic. Been looking around for a better option myself.

          2. I think Hostgator is an OK option for new bloggers price-wise, but as a site grows, it needs better resources.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.