PHP 8.2: security updates end on 31 December 2026
Support for PHP 8.2 ends on 31 December 2026. After that, the PHP project will no longer release security fixes for this version. Anyone running a website, shop or web application on PHP 8.2 should plan the switch in December.
What ends on 31 December 2026
Every PHP version is actively maintained for two years and then receives only security fixes for a further two years. For PHP 8.2, released in December 2022, this second phase ends at the end of the year. The software will continue to work, but newly discovered security vulnerabilities will no longer be closed.
This affects more than your own code. WordPress, shop systems, plugins and libraries also gradually raise their minimum requirements after a PHP version ends. Updates can then no longer be installed until PHP is updated.
Which PHP versions are still supported
| Version | Released | Active support until | Security fixes until |
|---|---|---|---|
| PHP 8.2 | December 2022 | ended | 31.12.2026 |
| PHP 8.3 | November 2023 | ended | 31.12.2027 |
| PHP 8.4 | November 2024 | 31.12.2026 | 31.12.2028 |
| PHP 8.5 | November 2025 | 31.12.2027 | 31.12.2029 |
| PHP 8.6 | November 2026 | 31.12.2028 | 31.12.2030 |
Source: overview of supported versions on php.net, as of 27 November 2026. PHP 8.1 and all older versions already receive no fixes today.
How to check which version is running
- In the hosting package: the provider's control panel shows the PHP version per domain and usually allows switching as well.
- In WordPress: under Tools, Site Health, Info, the version is listed in the Server section.
- On your own server: the command
php -vshows the command-line version. The web server may use a different one, so also check the website's configuration.
A special case are servers that obtain PHP from the packages of a Linux distribution with long-term support. There the distributor often maintains the shipped version longer than the PHP project itself. Whether this applies to your server depends on distribution and version and should be checked.
Which version is the right one?
For most websites PHP 8.4 is currently the sensible choice: the version has been in use for two years and receives security fixes until the end of 2028. PHP 8.3 is the smallest step but buys only one year. PHP 8.6 was only released in November 2026. Many plugins and libraries are not yet approved for it; for production use it is usually too early.
What can break during the switch
- Outdated plugins and themes that have not received an update for years.
- Your own code that uses functions marked as deprecated or removed in newer versions.
- Missing extensions: the same PHP extensions must be installed on the server for the new version.
- Scheduled tasks and scripts that run outside the website and use their own PHP version.
Procedure in five steps
- Back up: full backup of files and database whose restore has been tested.
- Create a copy: run the website at a test address with the new PHP version.
- Check: go through all important processes, such as forms, ordering, login and administration, and evaluate the error log.
- Adapt: update or replace plugins, correct your own code.
- Switch over: switch the live website and watch the error log for a few days.
What we take over
We check the PHP version of your website, test the switch on a copy, adapt code and plugins and switch over on the agreed date. For WordPress this is part of our WordPress security service, for other systems part of the security audit.
Have your PHP version checked
Tell us the address of your website. We will tell you which PHP version is running and what the switch requires.