Panellicense

PHP 8.2 end of life on 31 December 2026: a plan for hosts

PHP 8.2 gets its last upstream security fix on 31 December 2026. Find every 8.2 site on cPanel and Plesk, move them in bulk, and choose patched builds for what can't move.

Tutorials & how-tos6 min readUpdated 2026-12-03
schema: HowToschema: FAQPageschema: BreadcrumbList

PHP 8.2 leaves security support on 31 December 2026. From 1 January 2027 the PHP project ships no fixes for it, whatever the severity. Every site still on 8.2 after that date runs code that will never get another upstream fix.

This guide is for admins running cPanel, Plesk, or CloudLinux fleets. It covers finding every site still on 8.2, moving the ones that can move, and keeping the rest patched without breaking customer sites on 2 January.

What actually changes on 1 January

BranchActive support untilSecurity support until
8.231 Dec 202431 Dec 2026
8.331 Dec 202531 Dec 2027
8.431 Dec 202631 Dec 2028
8.531 Dec 202731 Dec 2029

Dates are from php.net's supported versions table. Two points matter for planning:

  • 8.3 is not a long-term target. It has one year of security fixes left. Move sites that can handle it straight to 8.4, which gives you two years.
  • Nothing breaks on the day. Your ea-php82, alt-php82, or plesk-php82 packages stay installed and keep serving. The risk is the next critical CVE. The November 2026 PHP release had four Critical bugs hitting every branch from 8.2 up. After December, an equivalent batch would leave stock 8.2 unpatched.

Find every site on PHP 8.2

cPanel

php_get_vhost_versions lists every virtual host with its effective PHP version, owner, and FPM status:

whmapi1 --output=json php_get_vhost_versions \
  | jq -r '.data.versions[] | select(.version=="ea-php82") | "\(.account)\t\(.vhost)"' \
  | sort > /root/php82-vhosts.txt
wc -l /root/php82-vhosts.txt

Check the system default too. Sites set to inherit follow it, so they move when it moves:

whmapi1 php_get_system_default_version

Then catch sites that bypass MultiPHP with a hard-coded handler in .htaccess. MultiPHP Manager won't show these:

grep -rl --include=.htaccess "ea-php82" /home/*/public_html 2>/dev/null

Plesk

List the installed handlers first, then query which domains use an 8.2 handler:

plesk bin php_handler --list
plesk db "SELECT d.name, h.php_handler_id FROM domains d JOIN hosting h ON h.dom_id = d.id WHERE h.php_handler_id LIKE '%php82%'"

That catches plesk-php82-fpm, plesk-php82-fpm-dedicated, plesk-php82-cgi, and so on.

CloudLinux PHP Selector

On CloudLinux, a user's Selector choice overrides the panel's version whenever the domain runs the native handler. Check the Selector settings as well as the panel's. If you're unsure which layer wins, see MultiPHP Manager vs CloudLinux PHP Selector.

Move the sites that can move

Go straight to 8.4 where you can. For WordPress, most breakage comes from abandoned plugins rather than core, so test the worst sites first.

cPanel: bulk switch

php_set_vhost_versions takes several vhosts in one call by numbering the parameter:

whmapi1 php_set_vhost_versions version=ea-php84 vhost-1=example.com vhost-2=example.net vhost-3=example.org

Make sure ea-php84 and the extensions your sites need are installed in EasyApache 4 first. See adding a PHP version in EasyApache 4. Switch in batches of 20–50 and watch /usr/local/apache/logs/error_log and the domains' error_log files between batches.

Plesk: bulk switch

Put the domains in a file, one per line, and loop:

while read -r d; do
  plesk bin domain -u "$d" -php_handler_id plesk-php84-fpm
done < /root/php82-domains.txt

If a domain returns 503 afterwards, rebuild its web server configuration with plesk repair web example.com. For WordPress sites, WP Toolkit's Smart PHP Updates clones the site and tests the new version on the clone before switching the live site. Plesk PHP handlers compared covers which handler to choose.

Keep the rest patched

Some sites won't move by 31 December: unmaintained custom code, abandoned plugins, or customers who don't answer. You have three options:

  1. CloudLinux alt-php82. CloudLinux keeps patching end-of-life PHP builds after upstream stops, and says it targets 14 days for critical and high-risk CVEs. On CloudLinux and Imunify360 servers these ship as hardened legacy PHP. Move the site from ea-php82 to alt-php82 in PHP Selector or MultiPHP Manager. The version number stays 8.2.x and only the package release changes. PHP Selector setup covers enabling it.
  2. TuxCare ELS for PHP on cPanel without CloudLinux. Buy it in WHM under Software » MultiPHP Manager » Buy TuxCare ELS PHP. With a valid license, the interface installs alt-phpXX packages when it loads. You can also run /usr/local/cpanel/scripts/install_tuxcare_els_php. Then switch domains from ea-php82 to alt-php82 under User Domain Settings. If the license lapses, sites keep working but get no further fixes.
  3. Plesk's own packages. Plesk backported the November 2026 fixes to plesk-php81, plesk-php80, and plesk-php74 on Linux, keeping the version numbers unchanged. Plesk hasn't committed publicly to the same for 8.2 after December. The TuxCare builds show up in Plesk as an extra PHP handler if you want a guaranteed patch source.

Running unpatched stock 8.2 is not a fourth option. Every PHP-FPM worker runs customer code. A worker-to-root bug like CVE-2026-129291 turns one outdated WordPress site into a compromised server.

Recheck on 2 January

Run the discovery commands again in the first week of January. Anything still on ea-php82 or plesk-php82-* is unpatched from then on. Either move it or put it on a patched build. Repeat the audit after every PHP security release. Then set the server's default PHP version to 8.4 so new accounts don't start on a version with one year left.

When does PHP 8.2 reach end of life?+
PHP 8.2 security support ends on 31 December 2026. Active bug-fix support ended on 31 December 2024, and from 1 January 2027 the PHP project releases no fixes of any kind for the 8.2 branch.
Will cPanel remove ea-php82 after end of life?+
Installed ea-php82 packages keep running after 31 December, but cPanel follows upstream support, so expect no further security fixes from stock EasyApache 4. Move sites to ea-php84, or switch them to a patched alt-php82 build from CloudLinux or TuxCare ELS.
Should I upgrade from PHP 8.2 to 8.3 or 8.4?+
8.4 where the site supports it. PHP 8.3 security support ends on 31 December 2027, so an 8.3 move buys only one year. PHP 8.4 is supported until 31 December 2028.
How do I find which sites use PHP 8.2 on cPanel?+
Run whmapi1 php_get_vhost_versions and filter for ea-php82, then grep users' .htaccess files for hard-coded ea-php82 handlers. Sites set to inherit follow the system default, which php_get_system_default_version shows.
Can I keep running PHP 8.2 safely in 2027?+
Only on a build that still receives backported fixes, such as CloudLinux alt-php82 or TuxCare ELS for PHP. Stock upstream 8.2 will not get patches for vulnerabilities found after 31 December 2026.

Next steps

Switch in an afternoon

Switch from your current reseller — free.

We migrate active cPanel, Plesk, LiteSpeed and CloudLinux licenses from any reseller. We prorate the first month so you never pay twice, and your customers see zero downtime during the swap.