WNWEBSNEXUS

End-of-life reference

PHP end-of-life dates and supported versions

Last checked against the official source

PHP support timeline (checked 25 October 2026)

VersionReleasedActive support untilSecurity fixes untilStatus
PHP 8.520 Nov 202531 Dec 202731 Dec 2029Active support
PHP 8.4Nov 202431 Dec 202631 Dec 2028Active support
PHP 8.3Nov 202331 Dec 202531 Dec 2027Security fixes only
PHP 8.2Dec 2022Ended31 Dec 2026Security fixes only (ending soon)
PHP 8.1Nov 2021Ended31 Dec 2025End of life
PHP 8.0 and 7.x2015–2020EndedEndedEnd of life
PHP 5.x2004–2014EndedEndedEnd of life

How does PHP support work?

Each PHP release branch gets two years of active support, with bug and security fixes, followed by two years of security fixes only. After that it is end of life: no more releases from the PHP project, whatever is discovered.

A new branch arrives every November, so a PHP version installed four years ago is at or past the end of its life.

Is my PHP version safe?

  • Active support (8.4, 8.5): safe, as long as you install each patch release.
  • Security fixes only (8.2, 8.3): safe for now, but plan the upgrade. PHP 8.2 stops getting fixes on 31 December 2026.
  • End of life (8.1 and older): new vulnerabilities will never be fixed by the PHP project. Upgrade or migrate.
  • Not sure which version you run? Check it in cPanel, in WordPress under Tools → Site Health, or with php -v on the server.

How do I upgrade from an unsupported PHP version?

From PHP 8.2 or 8.3, moving to 8.4 or 8.5 is usually a small step: update dependencies, fix deprecations, test on staging and switch.

From PHP 7.x, upgrade one major step at a time with the official migration guides, and use a tool such as Rector to automate the code changes.

From PHP 5.x with no tests and a dead framework, an upgrade can cost almost as much as a rebuild. Compare it with a phased migration before you commit.

Which critical vulnerabilities affect old PHP versions?

  • CVE-2026-109618

    PHP2Shell: remote code execution without logging in.

    Affected: PHP 5.4 and later. Fixed builds for 8.2–8.5; source patches only for 7.4–8.1.

  • CVE-2026-109619

    PHP2Shell: the second flaw in the same disclosure.

    Affected: PHP 5.4 and later. Fixed builds for 8.2–8.5; source patches only for 7.4–8.1.

Frequently asked questions

Which PHP versions are supported?

PHP 8.2, 8.3, 8.4 and 8.5 receive security fixes. PHP 8.4 and 8.5 are in active support.

When does PHP 8.2 reach end of life?

31 December 2026. After that date it receives no further security fixes from the PHP project.

Is PHP 7.4 still safe to use?

No. PHP 7.4 has been end of life since November 2022 and is affected by the PHP2Shell vulnerabilities, for which PHP published only a source patch.

What is the latest PHP version?

PHP 8.5, released 20 November 2025.

How often is this page updated?

We compare the table with php.net every month and show the date of the last check at the top of the page.

Get a fixed upgrade quote in 24 hours

Free, no obligation. We reply within 24 hours.

Your detailsStep 1 of 2

We can sign an NDA before you share customer data.

Sources

Related guides

All end-of-life dates

What now

Still on an unsupported version?

We upgrade or migrate it in phases, with a fixed quote first and your data and SEO kept intact.