Wydajność i bezpieczeństwo

PHP 8.1 end of support: an update plan for WordPress and PrestaShop

· Krzysztof Balicki

An old padlock on weathered wooden doors

Security support for PHP 8.1 ends on 31 December 2025. From January 2026, nobody will patch vulnerabilities in this branch. If your store runs on WordPress, WooCommerce or PrestaShop, move it to PHP 8.2 or 8.3 before that date, as the schedule of supported PHP versions confirms. There are only a few weeks left until the end of the year. Not much? It’s actually enough to prepare the migration and run it without interrupting sales. Below is a plan that will get you through PHP 8.1 end of support calmly and without surprises.

What does PHP 8.1 end of support mean for your store?

After 31 December 2025, no more security fixes will be released for PHP 8.1. Your site will keep working. But it will sit on a foundation that gets leakier month after month. The language’s developers describe the lifecycle of each branch plainly: according to the support policy published on php.net, a release gets full support for two years from its first stable version, and during that time it receives fixes for reported bugs and vulnerabilities. Then comes a period of security patches only. And after that? Nothing.

In practice, the effects show up quickly. Your hosting provider may switch your account to a newer version on its own (and it usually doesn’t ask when that suits you), and new releases of plugins and modules will stop declaring compatibility with 8.1.

How do you check your store’s PHP version in WordPress and PrestaShop?

You can read the PHP version in your CMS admin panel or in your hosting panel. It takes a few minutes. Where to look:

  • WordPress: Tools > Site Health > Info > Server.
  • PrestaShop: Advanced Parameters > Information, in the server configuration section.
  • Hosting panel: PHP settings for the specific domain.

Oh, and one trap. The website and cron jobs or scripts run from the command line (CLI) can use different PHP versions. Do you run backups or wholesaler sync on cron? Then check that version too, because the panel will only show you one of them.

PHP compatibility of plugins and modules: what to check before switching

The CMS itself is rarely the problem. It’s usually old plugins, modules and themes that break. Before you switch anything, go through this list:

  • the core version of WordPress, WooCommerce or PrestaShop,
  • the PHP requirements listed in the description of every plugin and module,
  • the date of each add-on’s last update,
  • the parent theme and the child theme,
  • custom modifications and code snippets added to the theme,
  • integrations with payment gateways, couriers and your ERP system.

Replace add-ons abandoned by their authors before the migration, not after. In my view, it’s better to have a licence with updates and support from the start, like the ones K4.pl offers. And if there’s no replacement? Then the option left is a plugin written for your store’s specific needs.

Updating to PHP 8.3 step by step: a plan for December

The safest way to move to PHP 8.3 is through a test copy, switching production only at the very end. The order:

  1. Make a full backup of your files and database.
  2. Set up staging, a test copy of your site, for example on a subdomain.
  3. Update the CMS, plugins, modules and theme there.
  4. Switch PHP on staging.
  5. Turn on error logging: WP_DEBUG_LOG in WordPress or debug mode in PrestaShop.
  6. Test the checkout path: cart, payment, confirmation email and invoice.
  7. Switch production during your lowest-traffic hours.
  8. Watch the logs for a few days.

Why 8.3 and not 8.2? Because the newer branch is supported for longer. Your next move simply comes later.

What should you do if something stops working after changing the PHP version?

First, roll back the PHP version in your hosting panel. Only then look for the culprit in the logs. The store comes back to life right away, and you can diagnose the issue calmly, without customers who can’t pay. Typical symptoms? A white screen, a 500 error, warnings about outdated functions (deprecated) or a payment module that suddenly goes silent.

You’ll track down the source of the problem on staging: disable add-ons one by one and switch the site to the default theme. An old, boring method, but it works. If the bug is in a plugin that someone still maintains, report it to the author. If the add-on is abandoned or the fault comes from a custom modification, don’t try to hack around it - it’s better to have a developer fix it.

Staying on PHP 8.1 in 2026? Risks and exceptions

Staying on an unsupported version is a risk you take on knowingly. It’s acceptable at most for a short transition period. Some hosting providers offer extended patches for older branches such as PHP 7.4, but that’s a band-aid, not a plan. Then there’s GDPR: it requires a store to properly secure its customers’ data, and outdated server software is hard to count as proper security.

PHP 8.1 end of support is a date nobody will move. The migration, however, can be planned. Check your version, review your add-ons and book time for testing before December is over.

Frequently asked questions

Will a store on PHP 8.1 stop working after 31 December 2025?

No, the site will keep working as before. It just won’t get any more security fixes, and new versions of plugins and modules will increasingly be incompatible with it. The risk grows every month.

Is it better to choose PHP 8.2 or 8.3?

Go with 8.3 if all your plugins and modules support it. Have older add-ons? Then 8.2 works as an intermediate step until you replace the ones blocking a further update.

How long does a PHP update take for a store?

It depends on the number of add-ons and whether you have a test copy ready. Switching the version in the hosting panel takes minutes. Most of the time goes into testing the checkout path and fixing incompatible elements.