end-of-life.org

PHP 5.4 End of Life

Support dates, vulnerabilities published since end of life, and upgrade guidance — rebuilt from live data.

End of Life

PHP 5.4 reached end of life on 14 Sept 2015. It no longer receives security fixes.

3,982 days without security patches
322 PHP CVEs published since EOL
Recommended action: upgrade to PHP 8.5.
Check your versionphp --version

Support timeline

Official dates from the PHP release process.

MilestoneDateStatus
Initial release1 Mar 2012
End of life 14 Sept 2015 10.9 years ago
Active support ended14 Sept 2014 security fixes only after this
Latest release5.4.45 · 3 Sept 2015 final

The cost of staying: CVEs since end of life

322 PHP vulnerabilities have been published since 14 Sept 2015. All were fixed in supported branches — 5.4 received none of them. Source: NVD.

PHP CVEs published since 5.4's EOL, by year

123 of the 322 are rated critical · data refreshed 2026-08-09

0 60 120 11 2015 120 2016 46 2017 24 2018 34 2019 19 2020 8 2021 8 2022 7 2023 18 2024 13 2025 14 2026
CVE-2015-8383 CVSS 9.8

Published 2 Dec 2015 · rated critical — fixed in supported branches only, never in 5.4. Details

CVE-2015-8386 CVSS 9.8

Published 2 Dec 2015 · rated critical — fixed in supported branches only, never in 5.4. Details

CVE-2015-8389 CVSS 9.8

Published 2 Dec 2015 · rated critical — fixed in supported branches only, never in 5.4. Details

Where to go from 5.4

Recommended target: PHP 8.5 (supported until 31 Dec 2029).

The newest actively supported branch is PHP 8.5 (latest release 8.5.9). Review php.net before upgrading. Run composer why-not php 8.5 to check package compatibility.

Frequently asked questions

Is PHP 5.4 still safe to use?

No. PHP 5.4 stopped receiving security fixes on 14 Sept 2015. Since then, 322 PHP vulnerabilities have been published and fixed in supported branches — PHP 5.4 received none of those fixes.

Can I still download PHP 5.4?

Yes — the final release (5.4.45) generally remains available from vendor archives and OS package mirrors, but installing it means running software with known, unpatched vulnerabilities.

What should I upgrade PHP 5.4 to?

Upgrade to PHP 8.5, the newest actively supported branch (supported until 31 Dec 2029).

All PHP versions