Skip to content
statance
MenuClose
← All PHP releases

Is PHP 5.4 end of life?

End of life

Yes. PHP 5.4 reached end of life on 14 September 2015 (11.2 years ago) and no longer receives security updates.

Released
1 March 2012
Active support ends
14 September 2014
Security support ends
14 September 2015
Latest release
5.4.45 · 3 September 2015
Long-term support
No

What this means for your servers

New vulnerabilities in PHP 5.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 5.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 7.0End of life10 January 2019
PHP 5.6End of life31 December 2018
PHP 5.5End of life21 July 2016
PHP 5.3End of life14 August 2014
PHP 5.2End of life6 January 2011
PHP 5.1End of life24 August 2006

All PHP end-of-life dates →

FAQ

Is PHP 5.4 end of life?

Yes. PHP 5.4 reached end of life on 14 September 2015 (11.2 years ago) and no longer receives security updates.

When does PHP 5.4 reach end of life?

Security support for PHP 5.4 ended on 14 September 2015. Active support ended earlier, on 14 September 2014.

What should I upgrade PHP 5.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 5.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 5.4?

The latest release in this cycle is 5.4.45, released on 3 September 2015.

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.