PHP 8.2 reaches end of life: what changes, plus Node.js and Python dates
Published · by Steffen Stein, Zybee Labs
Security support for PHP 8.2 ends on 31 December 2026. From 1 January 2027 the PHP project no longer fixes new vulnerabilities in it. Two other common runtimes already crossed that line this year: Node.js 20 on 30 April 2026 and Python 3.10 in October 2026.
An end-of-life runtime keeps working. The problem shows up with the next critical flaw: it gets fixed for the supported versions, and yours stays open. PHP2Shell showed what that looks like in October 2026. PHP 8.2 to 8.5 got fixed releases on day one, while PHP 8.1 and older got no official release at all.
The short answer: if your website runs on PHP 8.2 or older, plan the move to PHP 8.4 or 8.5 before the end of the year. If your app runs on Node.js 20, 23 or 25, move to 24 or 26. If it runs on Python 3.10 or older, move to 3.12 or newer.
PHP end-of-life dates
According to php.net, each PHP version gets two years of active support and then two years of security fixes only:
| Version | Active support until | Security fixes until | Where it stands |
|---|---|---|---|
| 8.5 | 31 Dec 2027 | 31 Dec 2029 | Active |
| 8.4 | 31 Dec 2026 | 31 Dec 2028 | Active |
| 8.3 | ended | 31 Dec 2027 | Security fixes only |
| 8.2 | ended | 31 Dec 2026 | Security fixes only, ends in about nine weeks |
| 8.1 and older | ended | ended | End of life |
Which version to pick: go straight to 8.4 or 8.5. A move to 8.3 is the same amount of work and only lasts until the end of 2027. WordPress recommends PHP 8.3 or newer.
What happens to PHP 8.2 sites on 1 January 2027
- Nothing breaks on the day. Your site keeps running.
- New flaws stay open. Once 8.2 is past its end of life, a flaw like PHP2Shell is not fixed for it by the PHP project.
- Your host may act. Some hosts switch old versions off after a grace period or move sites to a newer version for you. Others keep old versions running for a monthly fee: IONOS calls this PHP Extended Support and starts charging automatically once the PHP project drops a version. Read your host’s emails and check your next invoices.
- Plugins move on. Plugin and theme developers stop testing on old versions, and new releases start to require newer PHP.
Check your PHP version
- Without logging in: our free PHP check reads the PHP version your server reports to the outside, if it reports one.
- WordPress: Tools → Site Health → Info → Server.
- cPanel: MultiPHP Manager shows the version per domain.
- Plesk: Websites & Domains → PHP for each domain.
- On a server:
php -vfor the command line andphp-fpm -v(sometimesphp-fpm8.2 -v) for the version that serves your site. They can differ.
Step-by-step instructions for switching the version in cPanel, Plesk and common hosts are in our guide PHP2Shell: check and update your PHP version.
Before you switch
Moving from 8.2 to 8.4 rarely breaks a well-maintained site, but old themes and plugins can fail. Make a full backup, update WordPress, the theme and all plugins first, then switch the PHP version and click through the important pages: home page, contact form, checkout. If something breaks, switch back and fix the plugin before you try again. Hosts let you change the version per domain, so you can test on a staging copy first.
Node.js end-of-life dates
Up to Node.js 26, a new major version came out every six months: even-numbered versions became long-term support (LTS) releases, odd-numbered ones lost support after a few months. From Node.js 27 the project switches to one major version per year, and every version becomes LTS, according to the Node.js release page. Dates for the current lines:
| Line | Supported until | What that means today |
|---|---|---|
| Node.js 26 | 30 April 2029 | Newest line; turns LTS on 28 October 2026 |
| Node.js 24 | 30 April 2028 | LTS, in maintenance since 20 October 2026 |
| Node.js 22 | 30 April 2027 | LTS, in maintenance, about six months left |
| Node.js 25 | 1 June 2026 | Unsupported |
| Node.js 20 | 30 April 2026 | Unsupported |
| Node.js 18, 16 … | ended earlier | Unsupported |
Which version to pick: 24 if you want the version most libraries and platforms have tested, 26 if you want the longest runway. Use LTS lines only in production; Node.js 25 and other odd-numbered versions are already unsupported.
Node2Shell (CVE-2026-111497) showed the cost of an end-of-life version in October 2026: Node.js 22, 24 and 26 got fixed releases, while 20, 23 and 25 got none. Details are in our Node2Shell guide.
Check your version: node --version wherever your app runs, docker run --rm <image> node --version for a container image, or the Node.js setting of your project on platforms like Vercel, Netlify or Render.
Python end-of-life dates
Each Python version gets about two years of bug fixes and then security fixes until roughly five years after its release. Dates according to the Python developer guide:
| Line | Supported until | What that means today |
|---|---|---|
| Python 3.15 | October 2031 | Released in October 2026, full bug fixes |
| Python 3.14 | October 2030 | Full bug fixes |
| Python 3.13 | October 2029 | Security patches only |
| Python 3.12 | October 2028 | Security patches only |
| Python 3.11 | October 2027 | Security patches only, one year left |
| Python 3.10 | October 2026 | Unsupported |
| Python 3.9, 3.8 … | ended earlier | Unsupported |
Which version to pick: 3.12 or newer. Python 3.11 reaches end of life in October 2027.
Check your version: python3 --version, or the FROM python:… line of your Dockerfile.
Distribution packages and Docker images
Two things change what the upstream dates mean for you:
- Linux distributions backport fixes. When you installed the runtime from Debian, Ubuntu or Red Hat packages, the distribution’s support period counts, and it often runs past the upstream end of life. The version number then says little: a server reporting PHP 8.2 can be patched, and one reporting a newer number can be behind. Check the security tracker of your distribution, or ask your host.
- Docker images stop being updated. The official
php,nodeandpythonimages are no longer rebuilt once a version is end of life. An image tag likephp:8.2-apacheornode:20then stays on its last state forever, including its operating system packages.
Find every runtime version in your projects
A project can state its runtime version in half a dozen files. Run these in the project folder to see them all:
# FROM lines of all Dockerfiles, outside node_modules
find . -name 'Dockerfile*' -not -path '*/node_modules/*' -exec grep -HnE '^FROM' {} +
# Version manager files (prints only the ones that exist)
head .tool-versions .nvmrc .node-version .php-version .python-version 2>/dev/null
# Runtime versions set in GitHub Actions
grep -rnE '(node|php|python)-version' .github/workflows 2>/dev/null
Also look at composer.json (require.php), package.json (engines.node) and pyproject.toml (requires-python). Those fields set the range a project accepts. Which version really serves your users is decided by the server, the container image or the platform setting.
Package scanners such as npm audit, Dependabot or pip-audit check your dependencies, not the runtime underneath them. A clean report does not mean your PHP, Node.js or Python version still gets security fixes.
Your checklist for the rest of 2026
- List every website, app and container with its runtime and version, including staging servers and rarely deployed projects.
- Mark everything that is already end of life: PHP 8.1 or older; Node.js 25, 23, and 20 or older; Python 3.10 or older.
- Mark everything that ends by the end of 2027: PHP 8.2 (31 December 2026), Node.js 22 (30 April 2027), PHP 8.3 (31 December 2027), Python 3.11 (October 2027).
- Upgrade the end-of-life items first, then PHP 8.2 before 31 December.
- Put the next dates in your calendar. Upgrading on your own schedule is cheaper than upgrading in a hurry the day a critical flaw is published.
Not sure which PHP version your site runs, or no time to make the switch? Check it for free, or let us handle the upgrade.
Sources
Accessed on 26 October 2026.
Questions
When does PHP 8.2 reach end of life?
PHP 8.2 gets security fixes until 31 December 2026, according to php.net. From 1 January 2027 the PHP project no longer fixes new vulnerabilities in 8.2. Your site keeps running, but the next critical flaw stays open unless your host or Linux distribution patches it.
Which PHP version should I upgrade to?
PHP 8.4 (security fixes until 31 December 2028) or PHP 8.5 (until 31 December 2029). Moving to 8.3 only buys one year, because it reaches end of life on 31 December 2027. WordPress recommends PHP 8.3 or newer.
Will my website stop working on 1 January 2027?
Not because of PHP itself: PHP 8.2 keeps running after its end of life. What changes is that new security flaws are no longer fixed. Some hosts switch old versions off after a grace period, and some, such as IONOS, keep them running for a monthly fee called PHP Extended Support.
Is Node.js 20 still supported?
No. Node.js 20 reached end of life on 30 April 2026. When Node2Shell (CVE-2026-111497) was fixed in October 2026, Node.js 20, 23 and 25 got no fix. Move to Node.js 24 (LTS until 30 April 2028) or 26 (LTS from 28 October 2026, supported until 30 April 2029).
My server shows an old version number but my host says it is patched. Who is right?
Possibly both. Linux distributions such as Debian, Ubuntu and Red Hat backport security fixes into their packages without changing the version number, and often keep doing so after the upstream end of life. For runtimes installed from your distribution, the distribution's support period counts. For official builds and Docker images, the upstream date counts.