On December 31, 2025, PHP 8.1 reaches its end of life. After that date, the PHP project stops releasing security fixes for the 8.1 branch. If your WordPress site still runs on PHP 8.1, it will keep loading the next morning, and nothing visible will change. That is exactly why the date is easy to miss and why it matters.
This guide explains what end of life means for a WordPress site, how to confirm which version you run, which version to move to, and how to plan an upgrade over the next several weeks without breaking the plugins, forms and checkout pages your business depends on.
Where the December date comes from
PHP versions follow a published support schedule. In April 2024, PHP contributors voted to change that schedule. As described in the PHP Foundation’s October 2, 2024 update, PHP Core Roundup #19, each version now receives two years of active support followed by two years of security fixes, instead of only one year of security fixes. The change applied from PHP 8.1 onward, and end dates were aligned to December 31 so they are easier to predict.
The roundup listed the updated dates: PHP 8.1 reaches end of life on 2025-12-31, PHP 8.2 on 2026-12-31, PHP 8.3 on 2027-12-31 and PHP 8.4 on 2028-12-31. In other words, PHP 8.1 already received an extra year of security support. There is no further extension in that schedule.
What end of life actually means
Active support means a PHP version receives bug fixes and security fixes. Security support means it receives only fixes for security problems. End of life means it receives neither from the PHP project.
For a website, the practical effects are:
- New security problems stay unfixed in the official 8.1 releases, even when they are found and published.
- Plugins and themes gradually move on. Developers stop testing on old versions and eventually require newer ones.
- Hosting providers change their offerings. Some keep old versions available with their own patches for a while, others retire them on a schedule.
Some operating system vendors and hosts backport security fixes to older PHP versions for their own customers. If your host offers that, ask exactly what is covered and for how long. It can buy time, but it is a temporary arrangement, not a long-term plan.
How WordPress handles PHP versions
WordPress itself supports a wide range of PHP versions so that older sites keep working. That flexibility is helpful, but it can also hide the fact that a site’s server is running an outdated version.
In an April 8, 2024 post, Dropping support for PHP 7.0 and 7.1, the WordPress core team explained how it decides when to drop old versions. WordPress 6.6 dropped PHP 7.0 and 7.1 and set the new minimum at 7.2.24, while the recommended version remained 7.4 or greater. The team noted that it has historically used 5 percent of monitored installations as the usage baseline before dropping a version, with no fixed schedule. The same post shared PHP usage statistics from April 2024, which showed PHP 8.1 on 16.34 percent of monitored WordPress sites.
The lesson for site owners is that WordPress’s minimum requirement is not a recommendation. A site can meet the minimum and still run a PHP version that no longer receives security fixes.
The WordPress Hosting Team publishes compatibility notes for each release. Its April 16, 2025 post, WordPress 6.8 Server Compatibility, recommended that hosts use PHP 8.2 or 8.3 for new WordPress 6.8 installations, while the minimum requirement for WordPress 6.8 remained PHP 7.2.25 or later. At that release, PHP 8.1 was listed as in security support, 8.2 and 8.3 in active support, and 8.4 as a candidate. The post described WordPress 6.8 as fully compatible with PHP 8.1 and 8.2 and beta compatible with 8.3 and 8.4.
Check which version you run
Before planning, confirm the facts. In the WordPress dashboard, open Tools and then Site Health, and look at the Info tab under Server. It lists the PHP version the site is using. Your hosting control panel usually shows it as well, and may let you choose a different version for each site.
While you are there, note:
- Your WordPress version and whether automatic updates are on.
- The number of active plugins and when each was last updated.
- Your active theme and whether it is a custom or child theme.
- Any custom code added by a past developer.
This list becomes your upgrade inventory.
Choose the right target version
For most sites moving off PHP 8.1 now, PHP 8.2 or 8.3 is a sensible target. Both had active support at the time of the WordPress 6.8 release and matched the Hosting Team’s recommendation for new installs. PHP 8.3 gives you a longer runway, with security support scheduled through 2027.
PHP 8.4 is newer and offers the longest support window, but some plugins may still need updates for it. If your site depends on many plugins or older custom code, a two-step plan often works well: move to 8.2 or 8.3 now, then schedule a move to 8.4 later once your plugins have caught up.
Whatever you choose, avoid jumping to a version your host does not yet fully support, and avoid staying on 8.1 into the new year without a clear plan.

Audit plugins and themes first
Most PHP upgrade problems come from plugins, themes and custom code rather than from WordPress itself. Review each item on your inventory:
- Check the last update date. A plugin that has not been updated in years is a risk on any new PHP version.
- Read the changelog for notes about PHP compatibility.
- Look for replacements for abandoned plugins before the upgrade, not after.
- Remove what you do not use. Every inactive plugin is code you no longer need to test.
- Review custom code in the theme or small site-specific plugins for outdated functions.
Pay special attention to plugins that handle payments, forms, security or backups. They touch sensitive data and often run scheduled tasks in the background, so a failure may not be visible on any page. Note who supports each one, whether a paid license is current, and how to reach the vendor if a problem appears during testing.
If a critical plugin is abandoned and has no clear replacement, budget time to replace it or have the needed features rebuilt. That decision is easier to make now than during an emergency.
Test on a staging copy
Never test a PHP upgrade for the first time on the live site. Ask your host for a staging environment, or create a copy of the site on a separate server. Then:
- Update WordPress, plugins and themes on staging.
- Switch staging to the target PHP version.
- Turn on error logging, but keep errors hidden from visitors.
- Walk through the most important tasks on the site.
Focus your testing on what earns money or brings in leads. Submit every form, place a test order, log in as a customer, run a search, and check any booking or membership features. Look at the admin side too, including the editor, media uploads and scheduled tasks such as email or backups.
Expect to see some deprecation notices in the logs. As the Hosting Team’s post explained, a deprecation notice is not an error, but an indicator of where additional work is needed for future versions. Fatal errors, broken pages and failed forms are what must be fixed before going live.
Plan the live switch
Once staging works, schedule the live change for a quiet time of day and week. Before switching:
- Take a full backup of files and database, and confirm you can restore it.
- Confirm the host lets you switch back to the previous PHP version quickly if needed.
- Let your team know the time, so they can report problems right away.
- Pause major content or marketing changes for a day or two.
After switching, repeat the key tests from staging on the live site, then watch error logs and form submissions for several days. Many issues appear only when real visitors use a feature that was not tested. Keep the backup from before the switch for a few weeks, and clear caches so visitors see the updated site.
If your site is hosted on a plan that cannot run a supported PHP version, that is a sign to change plans or providers. Our web hosting team can move a WordPress site to a server with current PHP versions and staging tools included.

Talk with your host and developer
A short conversation can prevent many surprises. Ask your host:
- Which PHP versions are available now, and when will 8.1 be retired on your servers?
- Do you offer staging environments and one-click PHP version switching?
- Do you apply your own security patches to older PHP versions, and until when?
Ask your developer or agency:
- Which plugins or custom code are most likely to break?
- How long will testing take, and what will it cost?
- What is the rollback plan if something fails?
Make this part of regular maintenance
PHP upgrades are not a one-time event. With the new schedule, a version reaches end of life every December, so it makes sense to put a PHP review on the calendar each autumn. Pair it with a review of plugins, themes and hosting so the site never falls far behind.
A regular website maintenance plan handles updates, backups, testing and PHP reviews on a predictable schedule, so deadlines like this one become routine. It is also a good time to schedule content updates for pages that may need fresh screenshots, forms or instructions after the upgrade.
A fictional example
Consider a fictional dental practice whose WordPress site ran on PHP 8.1 with twenty-two plugins, including an appointment request form and a patient newsletter signup. The office manager learned about the December deadline from the hosting company’s email in October.
The practice’s developer created a staging copy, removed six unused plugins, replaced an abandoned gallery plugin and switched staging to PHP 8.3. Testing found one fatal error in a small custom plugin that formatted office hours, which was rewritten in an afternoon. After a weekend switch, the team watched form submissions for a week. The site moved to a supported version weeks before the deadline.
A PHP 8.1 end of life checklist
- Confirm the PHP version in Site Health or your hosting panel.
- Build an inventory of plugins, themes and custom code.
- Choose a target version, usually 8.2 or 8.3.
- Replace abandoned plugins and remove unused ones.
- Test the upgrade on a staging copy.
- Test forms, checkout, logins and admin tasks.
- Back up and confirm rollback options.
- Switch during a quiet period and monitor for several days.
- Ask your host about retirement dates and patches.
- Schedule a PHP review every autumn.
Sources
References for the factual guidance linked in this article.
- The PHP Foundation: PHP Core Roundup #19 — October 2, 2024 (2024-10-02). https://thephp.foundation/blog/2024/10/02/php-core-roundup-19/ (linked above; original dated source wording checked and bundled in evidence).
- Make WordPress Core: Dropping support for PHP 7.0 and 7.1 — April 8, 2024 (modified June 27, 2024) (2024-04-08). https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/ (linked above; original dated source wording checked and bundled in evidence).
- Make WordPress Hosting: WordPress 6.8 Server Compatibility — April 16, 2025 (2025-04-16). https://make.wordpress.org/hosting/2025/04/16/wordpress-6-8-server-compatibility/ (linked above; original dated source wording checked and bundled in evidence).


