Latest PHP version and end-of-life dates
The latest PHP version is 8.5.13, released October 21, 2026. PHP 8.5, 8.4, 8.3, 8.2 are supported; everything from 8.1 down gets no security fixes, including for PHP2Shell.
Supported PHP versions
| Version | Latest release | Released | Bug fixes until | Security fixes until |
|---|---|---|---|---|
| PHP 8.5 | 8.5.13 | Nov 20, 2025 | Dec 31, 2027 | Dec 31, 2029 |
| PHP 8.4 | 8.4.28 | Nov 21, 2024 | Dec 31, 2026 | Dec 31, 2028 |
| PHP 8.3 | 8.3.37 | Nov 23, 2023 | Dec 31, 2025 | Dec 31, 2027 |
| PHP 8.2 | 8.2.36 | Dec 8, 2022 | Dec 31, 2024 | Dec 31, 2026 |
Each PHP version gets two years of bug fixes and then two more years of security fixes only, ending on December 31.
End-of-life PHP versions
| Version | Last release | End of life | PHP2Shell |
|---|---|---|---|
| PHP 8.1 | 8.1.34 | Dec 31, 2025 | No fix PHP2Shell fix status |
| PHP 8.0 | 8.0.30 | Nov 26, 2023 | No fix |
| PHP 7.4 | 7.4.33 | Nov 28, 2022 | No fix |
| PHP 7.3 | 7.3.33 | Dec 6, 2021 | No fix |
| PHP 7.2 | 7.2.34 | Nov 30, 2020 | No fix |
| PHP 7.1 | 7.1.33 | Dec 1, 2019 | No fix |
| PHP 7.0 | 7.0.33 | Jan 10, 2019 | No fix |
| PHP 5.6 | 5.6.40 | Dec 31, 2018 | No fix |
Not sure what your site runs? Check your PHP version free, then follow the update guide for your host.
Every security fix PHP shipped this year, with the release that fixed it on each branch: PHP vulnerabilities by version. Moving up a version: how to update PHP.
Questions
What is the latest PHP version?
PHP 8.5.13, released October 21, 2026. It's the newest release of the PHP 8.5 branch.
Which PHP versions fix the October 2026 vulnerability?
PHP 8.5.13, 8.4.28, 8.3.37, 8.2.36, released October 21, 2026, fix PHP2Shell (CVE-2026-109618 and CVE-2026-109619). Older releases on those branches, and every release of 8.1 and older, don't have the fix.
Which PHP versions are still supported?
PHP 8.5, 8.4, 8.3, 8.2. PHP 8.2 gets security fixes only until Dec 31, 2026.
When did PHP 8.1 reach end of life?
PHP 8.1 stopped getting security fixes on December 31, 2025. Its last release is 8.1.34, which has no PHP2Shell fix.
When does PHP 8.2 reach end of life?
PHP 8.2 gets security fixes until Dec 31, 2026. Plan a move to 8.3 or 8.4 before then.
When did PHP 7.4 reach end of life?
November 28, 2022. Its last release is 7.4.33. Sites still on 7.4 have gone almost four years without PHP security fixes.
Which PHP version should I use?
PHP 8.4 or 8.3 for most sites today. Both get security fixes for years and run current WordPress, Laravel and Drupal.
Checked December 3, 2026. Sources:
