Skip to content
statance
MenuClose
← All end-of-life dates

PHP end of life

Support and end-of-life dates for every PHP release. The newest supported release is PHP 8.5.

ReleaseStatusReleasedActive supportSecurity support
PHP 8.5Supported20 November 202531 December 202731 December 2029
PHP 8.4Supported21 November 202431 December 202631 December 2028
PHP 8.3Security fixes only23 November 202331 December 202531 December 2027
PHP 8.2Security fixes only8 December 202231 December 202431 December 2026
PHP 8.1End of life25 November 202125 November 202331 December 2025
PHP 8.0End of life26 November 202026 November 202226 November 2023
PHP 7.4End of life28 November 201928 November 202128 November 2022
PHP 7.3End of life6 December 20186 December 20206 December 2021
PHP 7.2End of life30 November 201730 November 201930 November 2020
PHP 7.1End of life1 December 20161 December 20181 December 2019
PHP 7.0End of life3 December 20154 January 201810 January 2019
PHP 5.6End of life28 August 201419 January 201731 December 2018
PHP 5.5End of life20 June 201310 July 201521 July 2016
PHP 5.4End of life1 March 201214 September 201414 September 2015
PHP 5.3End of life30 June 200930 June 201114 August 2014
PHP 5.2End of life2 November 20062 November 20086 January 2011
PHP 5.1End of life24 November 200524 August 200624 August 2006
PHP 4.4End of life11 July 200531 December 20077 August 2008
PHP 5.0End of life13 July 20045 September 20055 September 2005
PHP 4.3End of life27 December 200231 March 200531 March 2005
PHP 4.2End of life22 April 20026 September 20026 September 2002
PHP 4.1End of life10 December 200112 March 200212 March 2002
PHP 4.0End of life22 May 200023 June 200123 June 2001

How to check your PHP version

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

Upgrading PHP

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.

PHP end of life FAQ

What is the latest supported version of PHP?

PHP 8.5 (latest release 8.5.12) is the newest release, supported until 31 December 2029.

Which PHP versions are still supported?

PHP 8.5 (supported until 31 December 2029); PHP 8.4 (supported until 31 December 2028); PHP 8.3 (security fixes only until 31 December 2027); PHP 8.2 (security fixes only until 31 December 2026).

Which PHP version reached end of life most recently?

PHP 8.1, on 31 December 2025.

How do I check which PHP version I have?

Run php -v or php -r 'echo PHP_VERSION;'.

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.

Get told when PHP goes end of life.

Install the agent once; Statance flags end-of-life and vulnerable software across every server.