Why you should update your PHP Version.

Author: Ellyse
Date: 31 May, 2021

PHP is another important factor for your website. Upgrading and maintaining your current version of PHP is not just important for compatibly. But also for the security of your website. New security features are implemented with each new PHP version. While older versions reach their life cycle and are no longer supported, not receiving updates, creating security vulnerability as they are no longer patched for these new vulnerabilities.

So, what is PHP?

PHP is a hypertext processor that is used with HTML to create scripts for your website. When anyone visits a website, the browser sends the site a request, and PHP scripts compile the HTML packets to send them back to the browser.

Percentage of websites using various versions of php

PHP version 7 alone is used by 65.4% of all the websites that use PHP. 34.1% are still using PHP version 5. It is also one of the best-maintained languages because new updates and features are constantly being pushed out, Version changes happen about once every year. So how do you know what version of PHP your current website is using, and how do you update it?

How do you know which version your site is using?

Finding out your version is simple; you can access all of PHP information by logging into your cPanel. Unsure how to access your cPanel? Its simple just follow this guide!

NOTE – The below will change the PHP version for the entire cPanel. If you have an independent site or development site, that requires a newer version of PHP than other installed sites in your cPanel, we recommend setting the newer site up as a Sub-Domain or addon domain, depending on what your scenario is. Then set the PHP version for that subdomain/addon domain as required via the MultiPHP Manager in cPanel. See THIS ARTICLE for details.

From the main page in cPanel, click the MultiPHP MANAGER link. This can be found under the Software header.

cPanel php manager

You will see a list of all your domains, including addon domains and subdomains. Tick the box next to the site you wish to swap the PHP Version for, see point 1 in the image below. Note down the current version on a notepad in case you experience any issues.

Then from the drop-down list, point 2 below, choose the relevant version.

Then click APPLY, point 3 as shown below.

MultimanagerPHP manager

Please be sure to test all functions of your site, as changing the PHP version can potentially affect various aspects and functionality. If you do experience any issues, please swap back to the version noted down in step 3 and contact Hosting Australia Support.

Compatibility Checker Plugin

You can also check your PHP Compatibility with the WP Engine PHP Compatibility Checker. This plugin can be used by any WordPress website to check your PHP version. Once the plugin is installed follow the instructions to run a scan. The results report will help you identify any potential PHP version conflicts in your code, so you can have them fixed before upgrading.

PHP Compatibility checker

Sign Up To Our Newsletter

Hosting Australia Newsletter

Don't miss out on the latest news and
special offers from Hosting Australia.

Sign up today!

Hidden

Next Steps: Sync an Email Add-On

To get the most out of your form, we suggest that you sync this form with an email add-on. To learn more about your email add-on options, visit the following page (https://www.gravityforms.com/the-8-best-email-plugins-for-wordpress-in-2020/). Important: Delete this tip before you publish the form.
Privacy(Required)