PHP 8.2 reaches end of support on 31 December 2026: what to do with your WordPress site
From 1 January 2027, PHP 8.2 no longer receives security updates. How to find out which version your site uses and how to move to a new version without breaking it.

What happens on 31 December 2026
Each PHP version receives two years of full updates and another two years of security updates only. For PHP 8.2, the security period ends on 31 December 2026 (php.net).
Your site does not stop on 1 January. It is just that, if a new vulnerability appears in PHP 8.2, the PHP team no longer fixes it. The same already applies to PHP 8.1, 8.0 and 7.4.
The versions that receive security updates:
- PHP 8.3, until 31 December 2027;
- PHP 8.4, until 31 December 2028;
- PHP 8.5, until 31 December 2029.
Which version WordPress recommends
The WordPress requirements page recommends PHP 8.3 or newer (wordpress.org). WordPress 7.0, released on 20 May 2026, works with PHP from 7.4 to 8.5. The WordPress hosting team recommends PHP 8.4 or 8.5 for new installations (make.wordpress.org).
The WordPress core is not the problem. Old plugins and themes are the ones that can throw errors on a new PHP version.
How to find out which PHP version your site uses
- From WordPress: Tools → Site Health → Info → Server. The PHP version is shown there.
- From cPanel: in the PHP version selection section you can see the version of each domain in the account.
- From WP Toolkit: the site list shows the PHP version for each installation.
If you have several sites in the same account, check all of them. The version is set per domain, not per account.
How to move to a new version without breaking your site
- Make a backup. On HostON hosting you have daily backups with JetBackup, but it is a good idea to make one right before the change.
- Update your plugins, theme and WordPress. Many compatibility problems are already fixed in the new versions.
- Look for abandoned plugins. On wordpress.org, each plugin’s page shows the date of its last update. A plugin that has not been updated for more than a year is a risk on both old and new PHP.
- Test on a copy. With WP Toolkit you can clone the site to a subdomain. On the clone you change the PHP version and check the important pages: the home page, the forms, the cart and the checkout, if you have a shop.
- Change the version on the live site. If everything works on the clone, choose the same version for the main domain.
- Watch the error log for a few days. In cPanel you find it under Errors or in the error_log file in the site’s folder.
If an error appears, you can immediately switch back to the previous version from cPanel. The change takes a few seconds.
What to do if a plugin does not work on the new PHP
- look for a newer version of the plugin or write to its author;
- replace the plugin with a maintained one that does the same thing;
- if it is custom code, ask the developer to update it. The messages in error_log show exactly which functions need to change.
Do not wait until the last week of December. A test done now gives you time to solve problems without rushing.
In brief
Check the PHP version of each site, update everything you can, test on a clone and move to PHP 8.3 or 8.4 by the end of the year. On the HostON web hosting and WordPress plans you change the PHP version yourself, from cPanel. If you need help, open a ticket from your client account or write to us from the Contact page.
Web hosting, VPS and domains at HostON
Servers in Vrancea, Romania, cPanel with LiteSpeed, free SSL, daily backups and free migration. Prices in euros, invoicing in lei (RON) at the National Bank of Romania (BNR) exchange rate.
HOSTON SRL · About us
Current prices are the ones on the product pages, read daily from the client account. The values in the article are approximate, as of the publication date.
Frequently asked questions
No. The site keeps working, but PHP 8.2 no longer receives security fixes. Any vulnerability discovered after that date remains unfixed.
PHP 8.3 or 8.4. WordPress recommends PHP 8.3 or newer, and 8.4 receives security updates until the end of 2028. Choose the newest version that your theme and plugins work on.
Yes. The PHP version is changed from cPanel in a few seconds, in both directions. However, staying on an unsupported version should only be temporary.
Usually not. Update WordPress, the theme and the plugins beforehand, and after the change check the important pages and the error log.
They can throw errors on new PHP and are a security risk on old PHP too. Replace them with maintained plugins.
Related articles



