Skip to content
PHP Scanner
PHP versions

Latest PHP version, supported versions and end-of-life dates

Updated By Catch Digital

Short answer

The latest PHP version is PHP 8.5 (8.5.12, released October 21, 2026). PHP 8.5 and 8.4 get active support; 8.3 and 8.2 get security fixes only, and PHP 8.2 reaches end of life on December 31, 2026. PHP 8.1 and older no longer get updates.

PHP support timelineFrom php.net

Every PHP version and its end-of-life date

From php.net's supported versions and end-of-life pages
VersionStatus todaySecurity fixes untilLatest releasePHP2Shell
PHP 8.5Active supportDecember 31, 20298.5.12Fixed in 8.5.12
PHP 8.4Active supportDecember 31, 20288.4.27Fixed in 8.4.27
PHP 8.3Security fixes onlyDecember 31, 20278.3.36Fixed in 8.3.36
PHP 8.2Security fixes onlyDecember 31, 20268.2.35Fixed in 8.2.35
PHP 8.1End of lifeDecember 31, 20258.1.34Source-code fix only
PHP 8.0End of lifeNovember 26, 20238.0.30Source-code fix only
PHP 7.4End of lifeNovember 28, 20227.4.33Source-code fix only
PHP 7.3End of lifeDecember 6, 20217.3.33No fix
PHP 7.2End of lifeNovember 30, 20207.2.34No fix
PHP 7.1End of lifeDecember 1, 20197.1.33No fix
PHP 7.0End of lifeJanuary 10, 20197.0.33No fix
PHP 5.6End of lifeDecember 31, 20185.6.40No fix

Which PHP version should my website use?

The newest version your platform, theme and plugins support: today that's PHP 8.4 or 8.5 for most sites. Since 2024, each PHP version gets 2 years of active support and 2 more of security fixes, ending on December 31. Plan an upgrade at least once every 2 years, and apply the small security releases (like 8.2.35, 8.3.36, 8.4.27, 8.5.12) as they come out.

What end of life means for a website

When a PHP version reaches end of life, PHP stops publishing fixes for it. The site keeps working, but new security flaws stay open. PHP2Shell is an example: PHP shipped fixed releases for 8.2 and newer, and only a source-code fix for 7.4, 8.0 and 8.1.

  • Active support: bug fixes and security fixes, with regular releases.
  • Security fixes only: releases only when a security flaw is fixed.
  • End of life: no releases at all.

Questions people ask

What is the latest PHP version?

PHP 8.5, currently 8.5.12. It gets active support until December 31, 2027 and security fixes until December 31, 2029.

Which PHP versions are still supported?

PHP 8.2, 8.3, 8.4, 8.5. PHP 8.1 reached end of life on December 31, 2025.

How do I check my PHP version?

Enter your address in PHP Scanner to see what your server reports, or look in WordPress under Tools, then Site Health, then Info and Server. How to check your PHP version covers the rest.

Do I need the newest PHP version?

You need a supported version on its latest release. The newest line isn't required, but staying within the supported ones means you keep getting security fixes.

Sources

Checked against these sources on October 22, 2026. PHP Scanner is a free tool from Catch Digital and is not affiliated with the PHP project.

Keep reading7 related