Emergency server help: get in touch

PHP latest version: current 8.5, 8.4, 8.3 and 8.2 releases and end-of-life dates

Live PHP release numbers for the 8.5, 8.4, 8.3 and 8.2 branches (refreshed twice a day), the support and end-of-life date for each, and how to find and update the PHP versions on a hosting server.

Published Updated 4 min read

PHP maintains four branches at once, and the branch matters more than the newest number: a site on PHP 8.2 is one patch release behind on a branch that stops receiving security fixes at the end of 2026, while PHP 8.5 is the newest branch with three years ahead of it. This page shows the latest release on every supported branch from our tracker and what each end-of-life date means for a hosting server.

Short answer: The newest PHP branch is 8.5 and its latest release is 8.5.12; the latest on 8.4 is 8.4.27. PHP 8.2 reaches end of life on 31 December 2026 and PHP 8.1 is already out of support. For new sites use 8.4 unless the application has certified 8.5; move 8.1 and 8.2 sites now. (Reviewed October 2026.)

Current versions (live)

The table below comes from endoflife.date, refreshed twice a day. Patch releases on all active branches normally land together on a Thursday every four weeks, and coordinated security releases (such as the 21 October 2026 fix for CVE-2026-109618 and CVE-2026-109619) land on every supported branch on the same day.

PHP — current versions

Release lineLatestReleasedSupport ends
8.68.6.02026-11-192030-12-31
8.58.5.122026-10-212029-12-31
8.48.4.272026-10-212028-12-31
8.38.3.362026-10-212027-12-31

Last change in the tracker: 20 Nov 2026, 11:17 UTC · All tracked products · Vendor release notes

How PHP branches and support work

Each PHP minor branch (8.3, 8.4, 8.5…) is released in November and supported for four years: two years of active support with bug fixes, then two years of security fixes only. The “Support ends” column above is the end of security support, after which the only patches come from vendors (CloudLinux ELS, TuxCare, Ubuntu Pro) or the cPanel/DirectAdmin build systems while they still ship the branch.

Hosting control panels ship their own builds a few days after php.net: cPanel through EasyApache 4 (ea-php84 and so on), DirectAdmin through CustomBuild (php1_release=8.4), CloudLinux through PHP Selector (alt-php). The patch number on the server therefore lags php.net by days, not weeks; a lag of months means updates are stuck.

Branch choice is an application question. WordPress, Laravel and most PHP frameworks support 8.4 fully; 8.5 support arrived through 2026 and some commercial plugins still lag. 8.2 and 8.3 remain fine for existing sites until their security-only phase ends, but do not create new sites on them.

Check which version you run

A server usually has several PHP versions; check the CLI default and the panel builds separately:

php -v                                             # CLI default
# cPanel / EasyApache 4
whmapi1 php_get_installed_versions
ls /opt/cpanel/ | grep ea-php
/opt/cpanel/ea-php84/root/usr/bin/php -v
# DirectAdmin / CustomBuild
/usr/local/php84/bin/php -v
grep -E "^php[1-4]_release" /usr/local/directadmin/custombuild/options.conf
# CloudLinux PHP Selector
selectorctl --list-alternatives
# which version a site actually runs (any panel)
curl -sI https://example.com/ | grep -i x-powered-by   # only if not hidden

Update safely

Updating within a branch (8.4.26 → 8.4.27) is a package update and is safe; moving a site to a newer branch is an application change and needs a test. The panel-specific steps:

For a public site you do not control, the WordPress security and PHP check reports the PHP branch when the server exposes it.

PHP versions at a glance

PHP latest version – short answer
In short: the live table on this page is refreshed twice a day; the notes below explain what the numbers mean.
PHP latest version – the sections in this guide
PHP latest version: what this guide covers.

Official documentation: PHP supported versions, PHP release history, endoflife.date: PHP.

Related guides: Update PHP: cPanel, DirectAdmin and CloudLinux security guide · Retire PHP 8.1 cPanel sites safely: audit and ELS · PHP cheat sheet: 8.3 and 8.4 syntax and functions.

Frequently asked questions

What is the latest PHP version?

PHP 8.5 is the newest branch; its current patch release, and the current release on 8.4, 8.3 and 8.2, are in the table at the top of this page, refreshed twice a day from endoflife.date.

When does PHP 8.2 reach end of life?

31 December 2026. After that date php.net publishes no security fixes for 8.2; cPanel and DirectAdmin keep shipping the branch for a while, and CloudLinux ELS or TuxCare sell extended patches. PHP 8.1 reached end of life on 31 December 2025.

Which PHP version should I use for WordPress in 2026?

PHP 8.4 for new sites: full WordPress and plugin support, active support until the end of 2026 and security fixes until the end of 2028. PHP 8.5 works with current WordPress but some commercial plugins still lag; test before switching a production site.

Share this guide

Free website test

Is your website set up right?

Check SSL, security headers, redirects, robots.txt, sitemap, llms.txt and security.txt in one test. It takes about 30 seconds.