If you have a WordPress site or manage one for others, then you need to immediately check the PHP version of the site. The PHP versions 5.6 & 7.0 will no longer receive security patch starting December 31st & December 3rd respectively, which makes them very prone to hacking.
WordPress has released data which shows that most of the sites are built on these two or even older versions of the PHP. Only a few sites are using 7.1 or a higher version of the PHP.
If you are not sure how to check the version of the PHP your site is built on, you can simply contact your hosting company. Alternatively, you can install this PHP plugin to see.
To know the life cycle of all PHP versions, please see the below table:
Be informed that updating your PHP is not that complicated. However, the outdated plug-ins & themes can make it a bit daunting. Therefore, we advise you to back up your website before making any changes.
Not all the plug-ins that you are currently using will be compatible with the latest version of the PHP – that is 7.1 & higher. Before you begin the upgrade, make sure you identify all the plug-ins and themes that can be updated and remove those that are not compatible with the latest version of the PHP. Any plug-ins that are not compatible with the latest version of PHP will pose a security threat.
The PHP compatibility checker will help with that.
Upgrading your site’s PHP version will go like this:
- Create a full backup of your WordPress site.
- Check the PHP version.
- Check plug-in compatibility with new PHP versions.
- Find an alternative to those plug-ins that can’t be updated.
- Go to your web hosting control panel & click on the PHP section.
- Update the PHP version.
If you are stuck anywhere between any of these steps, make sure to reach out to your hosting provider and ask them your specific question. Alternatively, you can also reach out to us. Our expert team will be more than happy to assist you.