Back to Blog
Guides

PHP 8.2 Security Support Ends on December 31

PHP 8.2 stops receiving upstream security fixes after December 31, 2026. Check every site and scheduled task, choose a supported PHP branch, and test the switch before it reaches production.

PHP 8.2 loses upstream security support on December 31, 2026. There are 27 days left. Your site will not stop working on January 1. It will keep running, but newly discovered PHP vulnerabilities will no longer receive fixes from the PHP project.

That matters even if you patched recently. PHP 8.2.35 fixed two critical remote-code-execution flaws in October; PHP 8.2.36 followed on November 19. Those releases fixed known issues while the branch was still supported. After its end-of-life date, a new flaw may remain unpatched upstream.

What changes after December 31

The PHP project gives each release branch two years of active support, followed by two years of security-only support. PHP 8.2 was released on December 8, 2022, ended active support on December 31, 2024, and reaches end of life on December 31, 2026. The code on your server does not switch off; the upstream security maintenance does.

In October, PHP released fixes for CVE-2026-109618 and CVE-2026-109619. The PHP Foundation said the flaws could let an unauthenticated attacker execute code under the right conditions. The PHP project urged all PHP 8.2 users to update to 8.2.35 at the time. The branch has since received 8.2.36, its latest release as of December 4. That example shows why “it still works” is not the same as “it is still maintained.”

Why shared hosting needs a clear handoff

On shared hosting, the provider maintains the host, operating system, and available PHP builds. You choose the PHP version assigned to your account or domain, and you maintain your application code, plugins, and themes. The boundary differs by provider, so confirm who controls each setting.

Providers do not always force every account to a new PHP version immediately. A forced change can break old plugins and themes. As a result, a version selected years ago may remain active on a site nobody checks regularly. The UK National Cyber Security Centre warns that weaknesses in unsupported products remain unpatched. Its guidance is not specific to web hosting, but the risk applies to unsupported server software too.

PHP remains widely deployed. In W3Techs’ November 28, 2026 snapshot, PHP 8.2 accounted for 24.3% of sites using PHP 8, making it the second most common PHP 8 branch after 8.3. Check your own account instead of assuming you are on a current release.

Find the PHP version for every site

In cPanel: open the PHP version selector. Check each domain separately if your account allows per-domain versions. Do not stop after checking the main site.

In WordPress: open Tools → Site Health → Info, then expand the Server section. The PHP version appears there.

For another application: if you use a temporary phpinfo() file, remove it immediately after checking. For example, create a file containing <?php phpinfo();, load it once, note the version, and delete the file. Leaving it accessible can expose detailed server configuration.

Check scheduled jobs too. A cron task may call a different PHP binary from the one used by the website. In cPanel’s Cron Jobs screen, inspect the full command. If it names a PHP executable directly, that path determines which runtime the task uses.

Which version should you choose?

For a WordPress production site, PHP 8.4 is a cautious target: the WordPress Hosting Team recommends 8.4 or later for production, and its compatibility notes list WordPress 7.1 as fully compatible through PHP 8.5. PHP 8.5 is also supported by the PHP project, but test your theme and plugins before switching.

  • PHP 8.3: security support through December 31, 2027. It is a smaller step from 8.2, but the next migration comes sooner.
  • PHP 8.4: security support through December 31, 2028. It is the conservative WordPress target recommended by the Hosting Team.
  • PHP 8.5: security support through December 31, 2029. Check your application and extension compatibility first.
  • PHP 8.6: the stable release arrived on November 19, 2026, with security support scheduled through December 31, 2030. It is new; verify your CMS, plugins, themes, and hosting provider’s support before using it on a production site.

Switch one site at a time

  1. Make a fresh backup and confirm you know how to restore it.
  2. Update the CMS, plugins, themes, and application dependencies.
  3. Check compatibility notes for the target PHP version, especially for custom or older code.
  4. Switch one domain to the chosen version.
  5. Test the pages and functions that matter: sign-in, checkout, forms, search, and scheduled jobs.
  6. Review the site’s error log for fatal errors. Deprecation notices may point to code that needs a later update.
  7. If the site fails, switch back to the previous version while you investigate.

Repeat the process for each domain. Moving all sites at once makes it harder to find which application caused a problem.

What if your host still offers PHP 8.2?

Some hosting providers offer extended or hardened builds that backport security fixes after upstream support ends. cPanel documents CloudLinux’s hardened PHP packages, and TuxCare offers extended lifecycle support for some end-of-life versions. Coverage depends on the provider, product, and exact PHP branch. Ask which fixes are included and for how long. Extended support is a bridge, not a reason to ignore outdated plugins and application code.

If you want to manage the server and PHP runtime yourself, a Cloud Hive DC KVM VPS provides root access and software freedom. That means you choose and maintain the operating system, PHP builds, and application stack; check the service terms for the support responsibility before moving a production site.

Sources

Back to Blog