Skip to content
statance
MenuClose
← All PHP releases

Is PHP 7.4 end of life?

End of life

Yes. PHP 7.4 reached end of life on 28 November 2022 (4 years ago) and no longer receives security updates.

Released
28 November 2019
Active support ends
28 November 2021
Security support ends
28 November 2022
Latest release
7.4.33 · 3 November 2022
Long-term support
No

What this means for your servers

New vulnerabilities in PHP 7.4 are no longer fixed. Every newly published CVE that affects it stays open on your servers, and vulnerability scanners and compliance audits (PCI DSS, SOC 2, Cyber Essentials, ISO 27001) flag unsupported software as a finding. Upgrade, or isolate the machine until you can.

How to check if you’re running PHP 7.4

CLI

php -v

Which version the web server uses

php -r 'echo PHP_VERSION;' # or create a page that calls phpinfo() — and delete it afterwards

What to upgrade to

The newest supported release is PHP 8.5, supported until 31 December 2029.

Each PHP branch gets two years of active support and two years of security fixes. Install the new version alongside the old one (ondrej/php PPA on Ubuntu, Remi on RHEL-family), switch PHP-FPM pools or the Apache module one site at a time, and check deprecation warnings in your logs before you switch.

Find end-of-life software before an auditor does

The Statance agent reports the PHP version on every server it runs on and raises a security finding when it goes past end of life or falls behind the latest patch, along with known CVEs from OSV.dev and CISA’s Known Exploited Vulnerabilities list. Security monitoring is included in Pro and Business. How security monitoring works.

Other PHP releases

ReleaseStatusSecurity support ends
PHP 8.5Supported31 December 2029
PHP 8.4Supported31 December 2028
PHP 8.3Security fixes only31 December 2027
PHP 8.2Security fixes only31 December 2026
PHP 8.1End of life31 December 2025
PHP 8.0End of life26 November 2023
PHP 7.3End of life6 December 2021
PHP 7.2End of life30 November 2020
PHP 7.1End of life1 December 2019

All PHP end-of-life dates →

FAQ

Is PHP 7.4 end of life?

Yes. PHP 7.4 reached end of life on 28 November 2022 (4 years ago) and no longer receives security updates.

When does PHP 7.4 reach end of life?

Security support for PHP 7.4 ended on 28 November 2022. Active support ended earlier, on 28 November 2021.

What should I upgrade PHP 7.4 to?

PHP 8.5 is the newest release that is still supported, with security updates until 31 December 2029. Each PHP branch gets two years of active support and two years of security fixes.

Can I keep running PHP 7.4 after end of life?

It keeps working, but new vulnerabilities will not be fixed, so every newly published CVE stays open on your server. Scanners and compliance frameworks (PCI DSS, SOC 2, Cyber Essentials) treat unsupported software as a finding.

What is the latest version of PHP 7.4?

The latest release in this cycle is 7.4.33, released on 3 November 2022.

Lifecycle data from endoflife.date/php, refreshed 17 November 2026. Vendors occasionally change dates; check the vendor’s own lifecycle page before making a compliance decision.

Stop tracking end-of-life dates by hand.

Statance flags end-of-life and vulnerable software on every server automatically.