SK Designz®
Home › Blog › PHP 8.2 end of life
Maintenance · 13 min read · 2027 guide

PHP 8.2 end of life: what it means for your WordPress site in 2027

DM
Daniel MacKenzieWeb Developer & Technical Writer

On December 31, 2026, PHP 8.2 reaches end of life. From January 1, 2027, the PHP project stops publishing security fixes for it. PHP is the language WordPress runs on, and a large number of small-business sites still use 8.2 or something older. Your site will not switch off on New Year's Day. What changes is quieter and more dangerous: any new security hole found in that version stays open for good. Here is what that means for a Canadian WordPress site, how to check where you stand, and how to upgrade without breaking anything.

Key takeaways

What "end of life" actually means

Every PHP version goes through the same life cycle. For two years after release it receives active support: bug fixes and security fixes. For the next two years it receives security fixes only. After that it reaches end of life and receives nothing at all. Since a change to the release policy in 2024, those support periods end on December 31 of the relevant year, which makes the dates easy to remember.

End of life does not delete anything or stop your server. A site on PHP 8.2 will load on January 2, 2027 exactly as it did on December 30. The difference is that when a new vulnerability in PHP 8.2 is discovered - and over a version's lifetime, some always are - no official fix will be released. The hole is public, it is permanent and it is easy to scan for.

The PHP support calendar

These dates come from the PHP project's published support schedule. If you are reading this later, check the official php.net supported versions page for the current picture.

VersionSecurity fixes untilWhere it stands in 2027
PHP 7.4November 28, 2022Unsupported for years - upgrade urgently
PHP 8.0November 26, 2023Unsupported - upgrade urgently
PHP 8.1December 31, 2025Unsupported
PHP 8.2December 31, 2026Unsupported from January 1, 2027
PHP 8.3December 31, 2027Security fixes only, final year
PHP 8.4December 31, 2028Security fixes only - good target
PHP 8.5December 31, 2029Fully supported - newest release

Why this matters more for WordPress than for most sites

WordPress itself is written in PHP, and so is every theme and plugin you install. That makes the PHP version the foundation everything else stands on. Two things follow from it.

First, the direct risk. An unpatched PHP version can expose the server to attacks that have nothing to do with WordPress. Automated bots constantly scan the internet for software versions with known holes, and they do not care whether you are a large retailer or a three-person bakery in Kelowna.

Second, and more often in practice, the knock-on risk. Plugin and theme developers stop supporting old PHP versions. New releases - including the security fixes for their own code - start requiring a newer PHP. A site stuck on 8.2 gradually loses the ability to update the plugins that attackers actually target, such as forms, sliders, page builders and e-commerce extensions. The outdated PHP version becomes the reason everything else goes out of date too.

WordPress.org currently recommends PHP 8.3 or newer, and with WordPress 7.0 the minimum supported version rose to PHP 7.4. The minimum is the floor that WordPress will tolerate, not a version you should be running.

How to check which PHP version your site runs

This takes about a minute and you don't need technical skills.

  1. Log in to your WordPress dashboard.
  2. Go to Tools → Site Health. If your PHP version is outdated, the Status tab usually flags it directly.
  3. Open the Info tab and expand Server. The line "PHP version" shows exactly what you are running.

You can also check in your hosting control panel - in cPanel it usually appears as "Select PHP Version" or "MultiPHP Manager" - or simply ask your host. If you don't have access to your hosting account at all, sort that out first. Our article on whether you really own your website explains why access matters.

Isn't my host taking care of this?

Sometimes, but don't assume it. Hosts handle end of life in three very different ways:

Ask your host three direct questions: Which PHP version is my site running? What will happen to PHP 8.2 sites after December 31, 2026? Can I switch versions myself, and can I switch back if something breaks? If you are reviewing hosting anyway, our guide to domains and hosting in Canada covers what to look for.

Which version should you move to?

Jumping several versions at once, for example from 7.4 straight to 8.4, is possible but riskier. Old sites often need a full plugin review before that jump is safe.

How to upgrade without breaking your site

The switch itself is usually a single setting in the hosting panel. The work is in what you do before and after it.

  1. Take a full backup of the files and the database, and confirm you know how to restore it. A backup you have never restored is a hope, not a plan.
  2. Update everything else first. Bring WordPress core, your theme and all plugins up to date on the current PHP version, so you are only changing one thing at a time.
  3. Audit your plugins. Delete anything you don't use. Look for plugins that haven't been updated in a long time - WordPress.org warns when a plugin "hasn't been tested with the latest major releases". Those are the most likely to break and the most likely to need replacing.
  4. Make a staging copy of the site and switch its PHP version there, not on the live site.
  5. Test the journeys that make you money: contact and quote forms, bookings, checkout and payment, account logins, and the admin screens you use every week.
  6. Read the error log. On staging, enable WordPress debug logging and look for errors and warnings after you click through the site.
  7. Switch the live site at a quiet time, with the previous version ready so you can switch back in a minute if needed.
  8. Watch it for a week. Check form submissions and orders are still arriving, and keep an eye on the error log.

Our website launch checklist is a useful list of things to re-test after any significant change like this.

What typically breaks, and why

What it costs

The cost depends far more on the state of your site than on PHP itself.

If you are not sure what your current support covers, our guide to WordPress maintenance lists what a proper plan should include.

The Canadian angle: security is also a legal duty

Under PIPEDA, businesses must protect personal information with safeguards appropriate to its sensitivity, and they must report breaches that create a real risk of significant harm to the Office of the Privacy Commissioner of Canada. In Quebec, Law 25 adds its own obligation to report confidentiality incidents. A contact form full of names, emails and phone numbers counts as personal information.

Running software that no longer receives security fixes, on a site that collects customer data, makes it much harder to argue that your safeguards were reasonable if something goes wrong. This is not legal advice - for that, speak to a lawyer - but it is one more reason not to leave an end-of-life PHP version in place. Our overview of website privacy laws in Canada explains the main obligations.

If you can't upgrade before December 31

Sometimes a key plugin isn't ready, or the busy season gets in the way. If you have to run past the deadline, reduce the risk while you plan the upgrade:

More on the basics in our guide to website security: SSL, backups and updates.

When a PHP upgrade is a sign of something bigger

If moving to a supported PHP version breaks half the site, the PHP version is not the real problem. It is the symptom of years of technical debt: plugins nobody maintains, custom code nobody understands and a theme built for a different era. At that point, patching may cost more than starting fresh on a clean foundation.

That is not an automatic reason to rebuild, but it is a good moment to ask the question honestly. Our list of signs your website needs a redesign and our comparison of custom code and WordPress can help, and if you do rebuild, follow a migration checklist that protects your rankings.

Your PHP checklist for 2027

Not sure your site is ready for 2027?

We'll check your PHP version, plugins and hosting, tell you plainly what needs doing and handle the upgrade on a staging copy before it touches your live site. Get a free assessment within 24 hours.

Get a free assessment

Frequently asked questions

When does PHP 8.2 reach end of life?

PHP 8.2 reaches end of life on December 31, 2026. From January 1, 2027, the PHP project no longer releases security fixes for it. PHP 8.1 reached end of life a year earlier, on December 31, 2025, and PHP 8.3 follows on December 31, 2027.

Will my WordPress site stop working on January 1, 2027?

No. A site on PHP 8.2 keeps loading normally after the deadline. What stops is security patching: any vulnerability found in PHP 8.2 after that date stays unfixed. Over time, plugins and themes also drop support for old PHP versions, so you lose the ability to update them.

How do I check my PHP version in WordPress?

In the WordPress dashboard, go to Tools, then Site Health, open the Info tab and expand the Server section. The PHP version is listed there. You can also find it in your hosting control panel or by asking your hosting provider.

Which PHP version should I use for WordPress in 2027?

For most sites, PHP 8.4 is the best choice in 2027 because it receives security fixes until the end of 2028 and is widely supported by maintained plugins. PHP 8.3 works as a temporary step, and PHP 8.5 suits sites whose plugins all pass testing on it.

Can upgrading PHP break my website?

It can, usually because of an outdated plugin, an old theme or custom code that relies on behaviour newer PHP versions changed. That is why you should test on a staging copy first, check the error log, and keep the previous version ready to switch back to on the live site.

Does a newer PHP version make my site faster?

Often, yes. Newer PHP 8 releases include performance improvements, and many sites respond a little faster after upgrading from an old version. The gain varies from site to site, though, so treat speed as a bonus. The main reason to upgrade is security.