PHP 8.3 vs 8.4

Support windows, end-of-life dates and latest versions side by side.

Which should you run?

Pick PHP 8.4 for new installs. It's supported until Dec 31, 2028, 1 year longer than 8.3, which ends Dec 31, 2027. 8.3 already gets security fixes only.

PHP 8.3 PHP 8.4
ReleasedNov 23, 2023Nov 21, 2024
StatusSecurity fixes onlyActive support
Active support untilDec 31, 2025Dec 31, 2026
End of lifeDec 31, 2027
in 1 year
Dec 31, 2028
in 2 years
Total support4 years, 1 month4 years, 1 month
Latest version8.3.36
Oct 21, 2026
8.4.27
Oct 21, 2026
LTSNoNo

How to upgrade from PHP 8.3 to 8.4

Ubuntu / Debian (Ondřej Surý's packages)

sudo apt update
sudo apt install --only-upgrade php8.4-cli php8.4-fpm

Add any other php8.4-* 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.4 -y
sudo dnf upgrade 'php*'

Docker

docker pull php:8.4-fpm

Official upgrade guide ↗ Back up first, and test on a non-production machine when you move to a new branch.

Quick answers

Should I use PHP 8.3 or 8.4?
Pick PHP 8.4 for new installs. It's supported until Dec 31, 2028, 1 year longer than 8.3, which ends Dec 31, 2027. 8.3 already gets security fixes only.
How long are PHP 8.3 and 8.4 supported?
PHP 8.3: supported until Dec 31, 2027 (security fixes only). PHP 8.4: supported until Dec 31, 2028.
What are the latest PHP 8.3 and 8.4 versions?
PHP 8.3 is at 8.3.36 (Oct 21, 2026), and PHP 8.4 is at 8.4.27 (Oct 21, 2026).

More PHP comparisons

Official release policy · Checked 4 hours ago