How do I prepare my website for the PHP upgrade?

Newer versions of PHP often introduce changes that are not compatible with older code. Older plugins, themes or code that were written for an older version of PHP may use code that is no longer supported in the newer version, leading to compatibility issues.

To ensure compatibility, it’s recommended that your site is updated and ready for the PHP upgrade by checking the following:

  1. Check compatibility with the new version: Before upgrading to a new version, use the PHP Compatibility Scanner to test if your site is compatible with the new version.
  2. Upgrade your CMS: If you are using a content management system such as WordPress, make sure to upgrade it to the latest version that is compatible with the new version of PHP.
  3. Upgrade your plugins and themes: Make sure that your themes and plugins are updated to their latest versions.
  4. Upgrade PHP version: Once you have completed all the above steps, you can upgrade your PHP version to the latest version. Make sure to test your website thoroughly after the upgrade to ensure that everything is working correctly.
Assist Note

If you have followed the above steps and your website is not working, you can roll back to the previous PHP version temporarily and then troubleshoot at a convenient time. You may require a developer to help you if you are unable to fix the error on your own.