PHP 8.2 End of Life (31 Dec 2026): What WordPress Owners Must Do
PHP 8.2 stops getting security fixes on 31 December 2026; 8.1 and older already get none. How to check your WordPress site's PHP version and what to do.
Check yours free
No signup, and a report you can share. Also try website seo checker.
Every WordPress site runs on PHP, the programming language on your host's server. Each PHP version gets security fixes for a fixed time, then none. PHP 8.2's security fixes end on 31 December 2026, and versions 8.1, 8.0 and 7.4 have already ended (php.net supported versions).
That matters more than usual this year. On 21 October 2026 the PHP project fixed two critical flaws that can let an attacker run code on a server, and older branches got no official fix (PHP news archive). WordPress.org said no WordPress update would solve it: owners need their host to update PHP (WordPress.org).
Find your PHP version
The quickest way: in WordPress, go to Tools → Site Health → Info → Server. Or put your address into the free WordPress health check — it shows the PHP version when your server reveals it, along with your WordPress and plugin versions.
| Your PHP version | Security fixes |
|---|---|
| 7.4, 8.0, 8.1 | None — ended |
| 8.2 | Until 31 December 2026 |
| 8.3 | Until 31 December 2027 |
| 8.4 | Until 31 December 2028 |
Update plugins and themes first
Old plugins are the usual reason a PHP upgrade breaks a site. Update WordPress, every plugin and your theme, and delete anything you don't use.
Back up, then upgrade PHP
Take a full backup. Most hosts let you pick the PHP version in the control panel (look for "PHP version" or "PHP manager"); some do it on request. Choose 8.3 or newer, then click through your key pages and send yourself a test from every form.
If something breaks
Switch back to the previous PHP version, then find the plugin or theme that failed (your host's error log names it). Update or replace it and try again.
Or stop managing PHP altogether
If you'd rather not do this every year or two, move to a platform where the server is someone else's job. AgencyX moves WordPress sites for free with any paid plan: every page, post and image, with every old link redirected. After that there's no PHP, plugin or WordPress version to manage.
Common questions
When does PHP 8.2 reach end of life?
31 December 2026. After that date the PHP project publishes no more security fixes for 8.2. PHP 8.1 and older already get none.
Does a WordPress update change my PHP version?
No. PHP runs on your host's server. You change it in your hosting control panel, or your host changes it for you. WordPress updates don't touch it.
Which PHP version should my WordPress site use?
PHP 8.3 or newer. WordPress.org recommends 8.3 or greater, and 8.3 gets security fixes until 31 December 2027.
Will upgrading PHP break my site?
It can, if a plugin or theme hasn't been updated for the newer PHP. Update everything first, take a backup, and test on a staging copy if your host offers one.
Try AgencyX free
A fast, Google-ready website you can edit by clicking on the page. Free plan, no credit card; Pro is $15 a month per editor.