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
| Branch | Active support until | Security support until |
|---|---|---|
| 8.2 | 31 Dec 2024 | 31 Dec 2026 |
| 8.3 | 31 Dec 2025 | 31 Dec 2027 |
| 8.4 | 31 Dec 2026 | 31 Dec 2028 |
| 8.5 | 31 Dec 2027 | 31 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, orplesk-php82packages 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:
- 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-php82toalt-php82in PHP Selector or MultiPHP Manager. The version number stays 8.2.x and only the package release changes. PHP Selector setup covers enabling it. - 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-phpXXpackages when it loads. You can also run/usr/local/cpanel/scripts/install_tuxcare_els_php. Then switch domains fromea-php82toalt-php82under User Domain Settings. If the license lapses, sites keep working but get no further fixes. - Plesk's own packages. Plesk backported the November 2026 fixes to
plesk-php81,plesk-php80, andplesk-php74on 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?+
Will cPanel remove ea-php82 after end of life?+
Should I upgrade from PHP 8.2 to 8.3 or 8.4?+
How do I find which sites use PHP 8.2 on cPanel?+
Can I keep running PHP 8.2 safely in 2027?+
Next steps
- Patch what's still supported first: the November 2026 PHP security release.
- Tune pools before moving busy sites to 8.4: PHP-FPM pool tuning on cPanel.
- Add patched legacy PHP to a server with a CloudLinux license or an Imunify360 license, or ask about fleet pricing via contact.