Tools: Essential Guide: PHP End-of-Life Dates - Official EOL Schedule for Every Version

Tools: Essential Guide: PHP End-of-Life Dates - Official EOL Schedule for Every Version

Complete PHP EOL Schedule

PHP 7.4 - End of Life November 28, 2022

PHP 8.0 - End of Life November 26, 2023

PHP 8.1 - End of Life December 31, 2025

PHP 8.2 - EOL December 31, 2026

PHP 8.3 - Current Stable

How to Migrate Safely - 6 Steps

EOL Risk Score Summary

Check Your Full Stack PHP 7.4 reached end of life on November 28, 2022. PHP 8.0 followed on November 26, 2023. PHP 8.1 reached EOL on December 31, 2025. PHP powers approximately 77% of all websites with a known server-side language. That makes EOL PHP versions one of the most widespread security risks in the entire web ecosystem. Right now, production servers running any of these versions receive zero security patches, zero CVE fixes, zero official support. ⚠️ PHP 7.4, 8.0, and 8.1 are all currently EOL. PHP 8.3 and 8.4 are the only supported versions. PHP 8.2 hits EOL December 31, 2026 — 7 months away. PHP 7.4 has been EOL for over three years. It's still the most searched PHP EOL query — and for good reason. PHP 7.4 was the last version in the PHP 7.x line and the last version compatible with older hosting environments. Many shared hosting providers kept PHP 7.4 as their default long after EOL because upgrading to PHP 8.x introduced breaking changes. The result: millions of production servers still running an unpatched PHP version three years past EOL. The WordPress problem: Many WordPress hosts defaulted to PHP 7.4 for years. Running WordPress on PHP 7.4 means your entire application runs on an unpatched runtime with no security fixes since November 2022. Migration path to PHP 8.3: → PHP 7.4 EOL Risk Score Card PHP 8.0 has been EOL for over 18 months. It was a landmark release — JIT compilation, named arguments, union types, match expressions. Many teams upgraded from 7.4 to 8.0 and then stayed there. If you upgraded to 8.0 to escape PHP 7.x and never went further — you're EOL again. The migration from 8.0 to 8.3 is significantly easier than 7.4 to 8.x was. → PHP 8.0 EOL Risk Score Card PHP 8.1 reached EOL less than five months ago. It introduced fibers, enums, readonly properties, and intersection types. Many teams are still running 8.1 thinking they have more time. They don't. The migration from 8.1 to 8.3 is the shortest jump available — same core architecture, mostly Composer dependency updates and minor deprecation fixes. → PHP 8.1 EOL Risk Score Card PHP 8.2 reaches EOL in 7 months. If you're on 8.2, start planning the 8.3 migration now — especially if you're on shared hosting where PHP version upgrades depend on your provider's timeline, not yours. PHP 8.3 is the recommended production version. Supported until November 23, 2027. This is where every production PHP deployment should be today. Step 1 - Check your version On shared hosting check your control panel's PHP selector. Step 2 - Audit dependencies Check every package for PHP 8.3 compatibility. Step 3 - Run static analysis Step 4 - Fix deprecations

Enable error_reporting(E_ALL | E_DEPRECATED) in development. Every deprecation notice is a future fatal error. Step 5 - Test on PHP 8.3 in staging

Full test suite on 8.3 before touching production. Monitor error logs for 24 hours. Step 6 - Update your hosting PHP has appeared repeatedly in the CISA Known Exploited Vulnerabilities catalog. EOL PHP versions will never receive patches for newly discovered exploits. PHP runtime EOL is one piece of the puzzle. Your Composer packages, frameworks (Laravel, Symfony, WordPress), and OS runtime each have their own end-of-life dates. Use the free EOL Checker or Stack Scanner at endoflife.ai to audit your entire dependency tree - no account required. This article is part of The EOL Intelligence Report series. EOL dates sourced from endoflife.date, PHP Group official documentation, and CISA KEV Catalog. Templates let you quickly answer FAQs or store snippets for re-use. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse

Code Block

Copy

composer outdated composer outdated composer outdated composer require --dev phpstan/phpstan ./vendor/bin/phpstan analyse src --level=5 composer require --dev phpstan/phpstan ./vendor/bin/phpstan analyse src --level=5 composer require --dev phpstan/phpstan ./vendor/bin/phpstan analyse src --level=5 - Skip 8.0 and 8.1 — both EOL. Skip 8.2 — EOL in 7 months. Go straight to 8.3. - Run php -l on your codebase to catch syntax errors first - Use Rector to automatically upgrade PHP syntax - Check all Composer packages: composer outdated - Enable error_reporting(E_ALL | E_DEPRECATED) — every deprecation is a potential fatal error in 8.x - Shared hosting: use your control panel PHP selector - Docker: FROM php:8.1-fpm → FROM php:8.3-fpm - VPS: apt install php8.3-fpm or equivalent