Latest Stable
8.5.6
Released 07 May 2026
(21 days ago)
Software
PHP
IntroductionPHP (Hypertext Preprocessor) is a widely-used, open-source server-side scripting language designed for web development. It is fast, flexible, and easy to learn, powering millions of websites including Facebook, Wikipedia, and WordPress. PHP excels at building dynamic web applications, handling forms, managing databases, and generating HTML content. It runs on almost all web servers and supports major databases.
Designed byRasmus Lerdorf
Written inC
Repositoryhttps://github.com/php/php-src
Websitehttps://www.php.net
Support policyhttps://www.php.net/supported-versions.php
LicenseMIT License
LATEST RELEASES:
8.2.31 07 May 2026 (21 days ago)
8.3.31 07 May 2026 (21 days ago)
8.4.21 07 May 2026 (21 days ago)
8.5.6 07 May 2026 (21 days ago)
8.4.20 09 Apr 2026 (1 month ago)

All Releases

PHP support lifecycle 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 8.5 Version: 8.5 Status: Supported End of bug fixes: 2025-11-20 to 2027-12-31 Version: 8.5 Status: Supported End of security fixes: 2027-12-31 to 2029-12-31 8.4 Version: 8.4 Status: Supported End of bug fixes: 2024-11-21 to 2026-12-31 Version: 8.4 Status: Supported End of security fixes: 2026-12-31 to 2028-12-31 8.3 Version: 8.3 Status: EOL End of bug fixes: 2023-11-23 to 2025-12-31 Version: 8.3 Status: Supported End of security fixes: 2025-12-31 to 2027-12-31 8.2 Version: 8.2 Status: EOL End of bug fixes: 2022-12-08 to 2024-12-31 Version: 8.2 Status: Supported End of security fixes: 2024-12-31 to 2026-12-31 8.1 Version: 8.1 Status: EOL End of bug fixes: 2021-11-25 to 2023-10-25 Version: 8.1 Status: EOL End of security fixes: 2023-10-25 to 2025-12-31 Today: 2026-05-28 Today End of bug fixes End of security fixes
VersionStatusInitial releaseLatest releaseEnd of bug fixesEnd of security fixes
8.5
Supported
8.5.0
20 Nov 2025
(6 months ago)
8.5.6
07 May 2026
(21 days ago)
31 Dec 2027
(Ends in 1 year, 7 months)
31 Dec 2029
(Ends in 3 years, 7 months)
8.4
Supported
8.4.1
21 Nov 2024
(1 year ago)
8.4.21
07 May 2026
(21 days ago)
31 Dec 2026
(Ends in 7 months)
31 Dec 2028
(Ends in 2 years, 7 months)
8.3
Supported
8.3.0
23 Nov 2023
(2 years ago)
8.3.31
07 May 2026
(21 days ago)
31 Dec 2025
(Ended 4 months ago)
31 Dec 2027
(Ends in 1 year, 7 months)
8.2
Supported
8.2.0
08 Dec 2022
(3 years ago)
8.2.31
07 May 2026
(21 days ago)
31 Dec 2024
(Ended 1 year, 4 months ago)
31 Dec 2026
(Ends in 7 months)
8.1
End of life
8.1.0
25 Nov 2021
(4 years ago)
8.1.34
18 Dec 2025
(5 months ago)
25 Oct 2023
(Ended 2 years, 7 months ago)
31 Dec 2025
(Ended 4 months ago)
8.0
End of life
8.0.0
26 Nov 2020
(5 years ago)
8.0.30
03 Aug 2023
(2 years ago)
26 Nov 2022
(Ended 3 years, 6 months ago)
26 Nov 2023
(Ended 2 years, 6 months ago)
7.4
End of life
7.4.0
28 Nov 2019
(6 years ago)
7.4.33
03 Nov 2022
(3 years ago)
28 Nov 2021
(Ended 4 years, 5 months ago)
28 Nov 2022
(Ended 3 years, 5 months ago)
7.3
End of life
7.3.0
06 Dec 2018
(7 years ago)
7.3.33
18 Nov 2021
(4 years ago)
06 Dec 2020
(Ended 5 years, 5 months ago)
06 Dec 2021
(Ended 4 years, 5 months ago)
7.2
End of life
7.2.0
30 Nov 2017
(8 years ago)
7.2.34
01 Oct 2020
(5 years ago)
30 Nov 2019
(Ended 6 years, 5 months ago)
30 Nov 2020
(Ended 5 years, 5 months ago)
7.1
End of life
7.1.0
01 Dec 2016
(9 years ago)
7.1.33
24 Oct 2019
(6 years ago)
01 Dec 2018
(Ended 7 years, 5 months ago)
01 Dec 2019
(Ended 6 years, 5 months ago)
7.0
End of life
7.0.0
03 Dec 2015
(10 years ago)
7.0.33
10 Jan 2019
(7 years ago)
10 Jan 2018
(Ended 8 years, 4 months ago)
10 Jan 2019
(Ended 7 years, 4 months ago)
5.6
End of life
5.6.0
28 Aug 2014
(11 years ago)
5.6.40
10 Jan 2019
(7 years ago)
31 Dec 2017
(Ended 8 years, 4 months ago)
31 Dec 2018
(Ended 7 years, 4 months ago)
5.5
End of life
5.5.0
20 Jun 2013
(12 years ago)
5.5.38
21 Jul 2016
(9 years ago)
21 Jul 2015
(Ended 10 years, 10 months ago)
21 Jul 2016
(Ended 9 years, 10 months ago)
5.4
End of life
5.4.0
01 Mar 2012
(14 years ago)
5.4.45
03 Sep 2015
(10 years ago)
03 Sep 2014
(Ended 11 years, 8 months ago)
03 Sep 2015
(Ended 10 years, 8 months ago)
5.3
End of life
5.3.0
30 Jun 2009
(16 years ago)
5.3.29
14 Aug 2014
(11 years ago)
14 Aug 2013
(Ended 12 years, 9 months ago)
14 Aug 2014
(Ended 11 years, 9 months ago)
5.2
End of life
5.2.0
02 Nov 2006
(19 years ago)
5.2.17
06 Jan 2011
(15 years ago)
06 Jan 2010
(Ended 16 years, 4 months ago)
06 Jan 2011
(Ended 15 years, 4 months ago)
5.1
End of life
5.1.0
24 Nov 2005
(20 years ago)
5.1.6
24 Aug 2006
(19 years ago)
24 Aug 2005
(Ended 20 years, 9 months ago)
24 Aug 2006
(Ended 19 years, 9 months ago)
5.0
End of life
5.0.0
13 Jul 2004
(21 years ago)
5.0.5
05 Sep 2005
(20 years ago)
05 Sep 2004
(Ended 21 years, 8 months ago)
05 Sep 2005
(Ended 20 years, 8 months ago)
4.4
End of life
4.4.0
11 Jul 2005
(20 years ago)
4.4.9
07 Aug 2008
(17 years ago)
07 Aug 2007
(Ended 18 years, 9 months ago)
07 Aug 2008
(Ended 17 years, 9 months ago)
4.3
End of life
4.3.0
27 Dec 2002
(23 years ago)
4.3.11
31 Mar 2005
(21 years ago)
31 Mar 2004
(Ended 22 years, 1 month ago)
31 Mar 2005
(Ended 21 years, 1 month ago)
4.2
End of life
4.2.0
22 Apr 2002
(24 years ago)
4.2.3
06 Sep 2002
(23 years ago)
06 Sep 2001
(Ended 24 years, 8 months ago)
06 Sep 2002
(Ended 23 years, 8 months ago)
4.1
End of life
4.1.0
10 Dec 2001
(24 years ago)
4.1.2
12 Mar 2002
(24 years ago)
12 Mar 2001
(Ended 25 years, 2 months ago)
12 Mar 2002
(Ended 24 years, 2 months ago)
4.0
End of life
4.0.0
22 May 2000
(26 years ago)
4.0.6
23 Jun 2001
(24 years ago)
23 Jun 2000
(Ended 25 years, 11 months ago)
23 Jun 2001
(Ended 24 years, 11 months ago)

PHP Lifecycle & End of Life (EOL) Policy

PHP maintains a consistent four-year support policy for every major release branch. This period is divided into two equal phases that help development teams balance access to new features with long-term stability and security.

The first two years are known as Active Support. During this time, the PHP team releases regular point versions that include both bug fixes and security patches. After Active Support ends, the branch enters a two-year Security Support phase where only critical security issues are addressed. Releases during this phase are made only when necessary, so they may appear frequently or not at all depending on reported vulnerabilities.

Once the full four years conclude, the version reaches End of Life. At that point the branch is considered obsolete and receives no further updates of any kind from the official PHP project.

Phase Duration What You Receive
Active Support First 2 years Regular bug fixes, security patches, and point releases
Security Support Next 2 years Critical security fixes only, released as needed
End of Life After 4 years total No updates or official support

Risks of Using End-of-Life (EOL) Versions

Running a PHP version that has reached End of Life introduces significant operational and security risks. Without any further patches, newly discovered vulnerabilities remain unaddressed, making your web applications and servers more susceptible to attacks.

You also lose access to official bug fixes, which means stability or performance problems that surface later must be resolved without help from the PHP core team. Many popular PHP frameworks, libraries, and hosting providers gradually drop support for EOL versions, leading to compatibility issues when updating other parts of your stack.

Organizations subject to compliance or security standards often face audit challenges because these policies generally require the core language runtime to stay under active maintenance. The longer an EOL version remains in production, the greater the maintenance burden and potential for unexpected incidents.

Risk Potential Impact
Unpatched security vulnerabilities Higher risk of exploits and data breaches
No official bug fixes Persistent issues affecting reliability
Framework and library incompatibility Broken dependencies or upgrade failures
Compliance violations Audit findings or regulatory problems

What Happens After PHP Reaches EOL

When a PHP major version reaches End of Life, the official support window closes completely. The PHP development team stops all work on that branch, meaning no more security patches, bug fixes, or point releases will ever be published.

Your existing applications will continue to execute as before, but you become fully responsible for managing any future security concerns or defects. Community resources may still offer discussions and workarounds, yet no guaranteed assistance or compatibility testing comes from the official project.

Experienced teams view the EOL date as a hard deadline and complete their migration to a supported version well in advance. This practice keeps applications secure, maintainable, and aligned with the current PHP ecosystem.

FAQ

Q1: How long is each PHP major version supported?
Every PHP major release receives a total of four years of support: two years of Active Support followed by two years of Security Support.

Q2: What is the difference between Active Support and Security Support?
Active Support includes regular bug fixes and security patches with frequent point releases, while Security Support is limited to critical security fixes only.

Q3: Can I continue using PHP after it reaches EOL?
Yes, the code will still run, but you will no longer receive any updates or official help, leaving your applications exposed to known vulnerabilities.

Q4: Are security patches released after EOL?
No. Once a version reaches End of Life, no further security patches or any other updates are provided.

Q5: How can I avoid problems with PHP EOL dates?
Keep track of your installed versions and plan upgrades while the version is still receiving Security Support.

Tracking & Monitoring PHP EOL Dates

Successful lifecycle management starts with maintaining an accurate inventory of every PHP version running in development, testing, staging, and production environments. Many teams include this information in their central monitoring or configuration management systems for quick visibility.

Perform regular checks, such as quarterly reviews, to identify versions approaching the end of Active or Security Support. Set up simple alerts in your operations tools so stakeholders receive early notification when less than six to nine months of support remain.

Document your upgrade roadmap alongside these timelines. By treating EOL dates as scheduled milestones, organizations can migrate smoothly and maintain a secure, supported PHP environment across all projects.

How To Check Your PHP Version

Determining the exact PHP version in use is quick and should be part of routine maintenance. From the command line, run one of the following commands.

php --version

php -v

These commands display the full version string, including the major, minor, and patch levels. Inside a PHP script or web application, you can also retrieve the version programmatically.

<?php
echo phpversion();
echo PHP_VERSION;
?>

Run these checks across all servers, containers, and hosting environments to keep your version inventory up to date and spot any outdated installations before they approach EOL.