PHP 8.2 support ends Dec 31, 2026: upgrade WordPress safely
PHP 8.2 stops getting security fixes on December 31, 2026. Check your version, prepare plugins and upgrade WordPress to PHP 8.3 or newer without breaking it.
Published
Your WordPress site runs on a programming language called PHP, installed by your hosting company. Each PHP version gets security fixes for a fixed time. After that, nobody patches it, and hosts start forcing upgrades, sometimes at a moment that suits them, not you.
The dates that matter
From the official PHP release schedule (php.net):
| PHP version | Security fixes until |
|---|---|
| 8.1 and older | Already ended |
| 8.2 | December 31, 2026 |
| 8.3 | December 31, 2027 |
| 8.4 | December 31, 2028 |
| 8.5 | December 31, 2029 |
WordPress itself recommends PHP 8.3 or newer. If your site is on 8.2 or older, plan the upgrade now, while you can choose the day.
Check which version you are on
- In WordPress, go to Tools → Site Health → Info → Server. The PHP version is listed there.
- Or look in your hosting panel for “PHP version”, “PHP Selector” or “MultiPHP Manager”.
If the two disagree, trust Site Health: it shows what your website actually uses.
Why upgrades break sites
PHP itself rarely breaks WordPress. Old plugins and themes do. A plugin that has not been updated in years may use code that newer PHP refuses, and the site shows “There has been a critical error on this website”. The most common story on WordPress support forums is exactly this: the host switched PHP overnight and an old plugin crashed.
A safe upgrade, step by step
- Make a full backup (files and database) and check you can download it. Many hosts have a one-click backup.
- Update WordPress, your theme and every plugin first, on the current PHP version.
- List plugins that have not been updated in two years. Those are the likely problems. Replace or remove the ones you do not need.
- Use a staging copy if your host offers one: switch the copy to the new PHP version and click through the pages that matter (home, contact form, checkout, booking).
- Switch the live site at a quiet time, then test the same pages again.
- If something breaks, switch back to the previous PHP version in the hosting panel. That undoes it in a minute while you find the faulty plugin.
When to get help
- You have no staging site and the site earns money.
- A plugin you depend on (shop, booking, membership) has not been updated in a long time.
- Your host is stuck on old PHP and will not let you change it. That is a sign to change host.
I can check your site for plugins that will break, do the upgrade on a copy first, and switch the live site only when everything works. Describe your setup and you get a fixed quote.