PHP end-of-life dates
When every PHP version from 5.6 to 8.5 stops getting bug fixes and security fixes, and where each one stands today, 2 October 2026.
Dates checked against php.net on . Status updates automatically.
Latest version
PHP 8.5
Oldest supported
PHP 8.2
Next end of life
| Version | Released | Active support until | Security fixes until | Status today |
|---|---|---|---|---|
| PHP 8.5 | Active support | |||
| PHP 8.4 | Active support | |||
| PHP 8.3 | Security fixes only | |||
| PHP 8.2 | Security fixes only | |||
| PHP 8.1 | End of life | |||
| PHP 8.0 | End of life | |||
| PHP 7.4 |
End of life
PHP 7.4 upgrade |
|||
| PHP 7.3 |
End of life
PHP 7.4 upgrade |
|||
| PHP 7.2 |
End of life
PHP 7.4 upgrade |
|||
| PHP 7.1 |
End of life
PHP 7.4 upgrade |
|||
| PHP 7.0 |
End of life
PHP 7.4 upgrade |
|||
| PHP 5.6 |
End of life
PHP 5.6 to 8.5 migration |
Source: PHP supported versions and unsupported branches on php.net.
What the dates mean
- Active support: the PHP project fixes reported bugs and security issues, and makes regular point releases.
- Security fixes only: releases are made only for critical security issues, as needed.
- End of life: no more releases. Any vulnerability found after this date stays unfixed in official PHP.
Under the policy the PHP project adopted in 2024, each version gets two years of active support followed by two years of security fixes, with each phase ending on 31 December. Older versions had shorter, less regular windows.
How to check which PHP version you run
Run php -v on the server, but don’t stop there: the command line and the web server often use different PHP versions. Check the PHP-FPM version your site uses (ls /run/php/ on Debian and Ubuntu), your hosting control panel, or a temporary phpinfo() page that you delete straight afterwards.
Running an end-of-life version?
Upgrade straight to the latest version, PHP 8.5, rather than to an older release that will need upgrading again soon. How much work that takes depends mostly on where you start:
- PHP 5.6 or 7.0 to 7.3: removed extensions such as
mysql_*and mcrypt, and old frameworks. See PHP 5.6 to 8.5 migration. - PHP 7.4: the PHP 8.0 and 8.1 changes do most of the damage. See PHP 7.4 upgrade.
- PHP 8.0 to 8.2: mostly deprecations. See PHP 8.2 end of life.
- On a framework or CMS? PHP and the framework usually have to move together: Laravel, Symfony, WordPress.