Mandatory upgrade to PHP 8.1 on Kinsta

Why upgrade to PHP 8.1 If you are our client or manage a Kinsta hosting space, you will surely have received an important notice this week: the time has come to update your site's PHP version, because active support for PHP 8.0 ended more than a year ago, and security support (patches to fix security…

Author

Franco Farnedi

Published

7 March 2024

Reading time

5 minutes

Category

Hosting

Why upgrade to PHP 8.1

If you are our client or manage a Kinsta hosting space, you will surely have received an important notice this week: the time has come to update your site’s PHP version, because active support for PHP 8.0 ended more than a year ago, and security support (patches to fix security issues) ended on 26 November 2023.

In May, Kinsta will start upgrading all the sites still on PHP 8.0 to PHP 8.1. Here is the schedule:

  1. Tuesday 26 March: the PHP 8.0 option will be removed for live sites.
  2. Tuesday 23 April: the PHP 8.0 option will be removed for Standard and Premium environments.
  3. Tuesday 7 May: sites still using PHP 8.0 will be upgraded to PHP 8.1.

WordPress sites are built on the PHP language, and every year outdated versions of the language are replaced by newer ones. We strongly recommend updating your site’s PHP version before 26 March 2024 so as to avoid possible outages. You can act on your own, following the Kinsta step-by-step guide or reading the tips we give below, or you can book a session with one of our specialist technicians, who will guide you step by step through the upgrade!

Tips

A prerequisite for everything to work well with PHP 8.1 is that WordPress, plugins, themes and functions are up to date enough to support the language. Sites often run into no problems when switching, but sometimes a single outdated plugin is enough to cause a fatal error.

The best way to make sure that moving from PHP 8.0 to 8.1 does not break your site’s functions is to test the change in a staging environment, then update the live site once you are sure it works correctly.

If the site breaks on PHP 8.1 in staging, you can fix the problem by disabling one plugin at a time. If disabling a particular plugin gets the site working again, you have found the problem to fix. If the plugins are not the problem, try disabling the theme. If a theme or plugin version is not compatible with PHP 8.1, contact the developer to ask whether a timeline for compatibility is planned. If not, look for another plugin or theme to replace it.

Do you need support with this upgrade?
Contact us by opening a ticket with our support service

Share the article

Available for work

Stay in touch

Have a new project to start, or just want to know more about what we do? Our team helps you find the solution that best fits your needs.

Contact us