PHP 8.2
Is PHP 8.2 still supported?
Security fixes only
PHP 8.2 only gets security fixes now, until Dec 31, 2026 (in 1 month). Active support (bug fixes) ended on Dec 31, 2024. Plan an upgrade to PHP 8.5.
- Released
- Dec 8, 2022
- Active support ended
- Dec 31, 2024
1 year ago - End of life
- Dec 31, 2026
in 1 month - Latest version
- 8.2.35
Oct 21, 2026
Dates checked against php.net supported versions on Oct 29, 2026.
PHP 8.2 → 8.4 upgrade checklist
0 of 25 donePHP 8.2 stops getting security fixes on December 31, 2026. Sites keep working after that date, but new vulnerabilities in PHP itself won't be patched. This checklist moves a site or server to PHP 8.4, which gets security fixes until the end of 2028 and works with current WordPress, Drupal and most frameworks. PHP 8.5 is fine too if everything you run supports it. The steps are the same. Tick items off as you go; your progress is saved in this browser.
If your PHP comes from your Linux distribution's own packages (for example
php8.2on Debian 12), the distribution may keep patching it on its own schedule. PHP from hosting panels and third-party repositories usually follows php.net's dates.
1. Take inventory
2. Check compatibility
3. What changes between 8.2 and 8.4
Most of these show up as deprecation notices in the log, not broken pages. Fix them anyway: deprecations become errors in a later major version.
4. Switch
5. After the switch
Sources
- Supported versions ↗ (php.net)
- Migrating from PHP 8.2 to 8.3 ↗ and from 8.3 to 8.4 ↗ (php.net)
- PHP compatibility and WordPress versions ↗ (WordPress.org)
- Drupal PHP requirements ↗ (drupal.org)
Upgrade path
The recommended upgrade is PHP 8.5, currently at 8.5.12 and supported until Dec 31, 2029.
How to upgrade from PHP 8.2 to PHP 8.5
Ubuntu / Debian (Ondřej Surý's packages)
sudo apt update
sudo apt install --only-upgrade php8.5-cli php8.5-fpm Add any other php8.5-* extensions you use. Moving to a new branch? Install the new packages alongside the old ones, switch your web server or PHP-FPM pool over, then remove the old ones.
RHEL / Rocky / AlmaLinux (Remi)
sudo dnf module reset php -y
sudo dnf module enable php:remi-8.5 -y
sudo dnf upgrade 'php*' Docker
docker pull php:8.5-fpm Official upgrade guide ↗ Back up first, and test on a non-production machine when you move to a new branch.
Quick answers
- Is PHP 8.2 still supported?
- Partly. PHP 8.2 only gets security fixes now, until Dec 31, 2026 (in 1 month). Active support (bug fixes) ended on Dec 31, 2024. Plan an upgrade to PHP 8.5.
- When is PHP 8.2 end of life?
- PHP 8.2 reaches end of life on Dec 31, 2026 (in 1 month). After that it gets no more updates, including security fixes.
- What is the latest version of PHP 8.2?
- The latest PHP 8.2 release is 8.2.35, released on Oct 21, 2026.
- When was PHP 8.2 released?
- PHP 8.2 was released on Dec 8, 2022.
- What should I upgrade PHP 8.2 to?
- The recommended upgrade is PHP 8.5, currently at 8.5.12 and supported until Dec 31, 2029.
- How do I check which PHP version I have?
- Run
php --version, then paste the result into the “Am I up to date?” box on this page.
Other PHP branches
All 23 →- 8.5 Active support
- 8.4 Active support
- 8.3 Security fixes only
- 8.2 Security fixes only
- 8.1 End of life
- 8.0 End of life
- 7.4 End of life
- 7.3 End of life
- 7.2 End of life
- 7.1 End of life
- 7.0 End of life
- 5.6 End of life
- 5.5 End of life
Compare: 8.2 vs 8.3
PHP 8.2 release dates
RSSRelease dates for 36 PHP 8.2 versions, newest first.
All 36 releases
- 8.2.25
- 8.2.24
- 8.2.23
- 8.2.22
- 8.2.21
- 8.2.20
- 8.2.19
- 8.2.18
- 8.2.17
- 8.2.16
- 8.2.15
- 8.2.14
- 8.2.13
- 8.2.12
- 8.2.11
- 8.2.10
- 8.2.9
- 8.2.8
- 8.2.7
- 8.2.6
- 8.2.5
- 8.2.4
- 8.2.3
- 8.2.2
- 8.2.1
- 8.2.0
Keep track
People who run PHP 8.2 also check
Official release policy · Checked 1 hour ago · Dates checked against the vendor on Oct 29, 2026