In my post, I show you how to update the PHP version on Hostgator in the Cpanel, step by step. Upgrading to the latest PHP version ensures you have the latest security patches, it also helps with your site loading speed.
Hostgator sets your PHP version when your purchase a hosting package, it probably isn’t the latest version. I show you how to check what version your site is using now 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 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.
Next, you see all folders and files associated with your hosting account. 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, I recommend you visit your site 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 your PHP version video tutorial
Now you can check your current PHP version and update to the latest version on Hostgator in your Cpanel.
I recommend you check the PHP version of your website. Upgrade if necessary, it ensures you have the latest security releases.
If you have a hosting with Bluehost, check out my ‘How to upgrade the PHP version in Bluehost’s Cpanel‘ post to upgrade the PHP version.
I also have a YouTube channel with many blogging tutorials. Don’t forget to say hi in the comments.
Before you upgrade your PHP version, could you spare one minute to leave a comment? Did I help you with my post? Would you like me to cover anything else in Hostgator’s Cpanel? I appreciate all feedback.