Blog

PHP 8.6 is out: which PHP version does a shop need now?

No PrestaShop branch supports the newest PHP, while security support for PHP 8.2 ends on 31 December 2026. Which PHP goes with which PrestaShop, and what is worth deciding now.

PHP 8.6 is out: which PHP version does a shop need now?

PHP 8.6.0 was released on 19 November 2026, the big release of the language this year. The new version will show up in the PHP selector of hosting panels over the coming weeks, and shop owners are left with a question: should the shop move to it?

The answer comes from the PrestaShop compatibility chart, and for now it is no: the vendor marks PHP 8.6 as unsupported on every released branch. Meanwhile a nearer deadline affects a lot of shops: security support for PHP 8.2 ends on 31 December 2026. This article walks through which PrestaShop version takes which PHP, what changes at the end of December, and what is worth deciding now.

Not a technical readerThe short version: what does this mean for a shop?

A shop runs on a program called PHP, and new versions of it come out from time to time. The newest one is 8.6, but PrestaShop does not work with it yet, so this is not the moment to switch.

The date that matters more is 31 December. Shops on version 8.2 stop receiving security fixes after that, and need to move to a newer PHP version.

What to do: find out which PHP the shop runs now and, if it is 8.2 or older, agree with whoever maintains the shop on when and how to move. The text below can be forwarded.

Questions for whoever maintains the shop

Which PHP version is the shop running now, and which PrestaShop version? Security support for PHP 8.2 ends on 31 December 2026: does that affect us, and if it does, which PHP version do we move to and by when? Which PHP releases does the current PrestaShop version support? If the PHP move also needs a PrestaShop upgrade, how much work is that, and what does it touch in the theme and the modules?

Which PHP version the PrestaShop 8 and 9 branches support, and how long each PHP branch receives security fixes
The supported PHP version follows from the PrestaShop branch, not from the hosting selector.

Why is the newest PHP not the right answer?

The PrestaShop compatibility chart lists, branch by branch, which PHP version a shop works with. Branches 9.1 and 9.2 support 8.1 up to 8.5, with 8.5 recommended. Branch 9.0 supports 8.1 up to 8.4, with 8.4 recommended. The 8.0 to 8.2 branch supports 7.2 up to 8.1, with 8.1 recommended. The 8.6 column reads "No" in every row.

PrestaShop versionSupported PHPRecommended PHPPHP 8.6
9.1 and 9.28.1 - 8.58.5not supported
9.08.1 - 8.48.4not supported
8.0 - 8.27.2 - 8.18.1not supported

In practice this means the PHP version is not a standalone decision: the PrestaShop version sets the ceiling. The hosting selector still offers every installed version and switching is one click, but moving to an unsupported version surfaces as errors in the back office or at checkout.

What happens on 31 December 2026?

The PHP project tracks two dates for each branch: the end of active support and the end of security support. As things stand, security support for 8.2 ends on 31 December 2026, and on the same day 8.4 moves from active support into the phase that brings security fixes only.

PHP branchActive support untilSecurity support until
8.231 December 202431 December 2026
8.331 December 202531 December 2027
8.431 December 202631 December 2028
8.531 December 202731 December 2029
8.631 December 202831 December 2030

The end of security support means the branch receives no further fixes from the PHP project. The release of 19 November shows what that looks like in practice: fixes appeared for four branches that day, and none for 8.1 or anything older.

The end date does not switch a shop off: PHP 8.2 will still run in 2027. The difference is that the next flaw has to be patched by the hosting provider or the distribution, because no release for it comes from the PHP project.

Which PHP is worth moving to?

The choice follows the PrestaShop version. On a 9.1 or 9.2 shop, 8.5 is the vendor's recommendation, and that branch receives security fixes until the end of 2029, so it is settled for years. On 9.0 the recommended version is 8.4, which runs until the end of 2028.

On a shop on the PrestaShop 8 branch, PHP cannot be moved on its own: the ceiling is 8.1, which no longer appears among the branches the PHP project supports. The decision there is not really about PHP, it is about when the shop moves to a version 9 release. Until that happens, fixes on the PHP side depend on the packages of the hosting provider or the distribution.

Our article PrestaShop 8.2: stay or move to 9? works through that decision; what these dates add to it is that the PHP timeline now points the same way.

What does a PHP switch touch in a shop?

A switch inside a branch, say from 8.3.36 to 8.3.37, brings fixes only and needs no separate planning. Moving between branches also touches the modules: older, unmaintained module code often uses language constructs that a newer PHP no longer accepts, and the error tends to appear at a rarely used point rather than on the home page.

So a branch move goes like this: try it on a copy, walk through checkout, the payment method, invoicing, outgoing email and the back office, fix what breaks, then go live. Among our own modules, the PrestaShop Security Scan module lists the state of the shop, and the PrestaShop Security Fix module applies the PrestaShop-side fixes.

What is worth doing now?

  1. Find the PHP and PrestaShop version in use under Advanced Parameters > Information in the back office. The two numbers together place the shop in the chart.
  2. If the shop runs PHP 8.2: plan the step to a branch with longer support, within the ceiling the PrestaShop version allows.
  3. If the shop runs PHP 8.1 or older: plan the PrestaShop upgrade, because PHP cannot be raised there on its own.
  4. Wait with PHP 8.6 until the vendor's compatibility chart marks it as supported.
  5. Either way, keep following the patch releases: the security releases inside a branch are worth tracking on the hosting account, and they do not change how the shop behaves.

Frequently asked questions

[faq]

Q: Can I move to PHP 8.6 now?

A: According to the vendor's compatibility chart no released PrestaShop branch supports 8.6, so this is not the version to switch to right now.

Q: What happens if the shop stays on PHP 8.2 into 2027?

A: It will keep running, but it receives no further security fixes from the PHP project. From that point the fix depends on the packages of the hosting provider or the distribution.

Q: Which PHP version does PrestaShop recommend?

A: 8.5 on the 9.1 and 9.2 branches, 8.4 on 9.0, and 8.1 on the 8.0 to 8.2 branch.

Q: How do I know whether the modules can take a newer PHP?

A: By trying it on a copy. The error rarely shows on the home page; checkout, invoicing, outgoing email and the back office lists are where it surfaces.

Q: Is switching PHP enough for security?

A: No, that is only the language side. PrestaShop's own security releases, module updates and the settings of the shop belong to the picture as well.

Sources: PHP supported versions, PHP news archive, 2026, PrestaShop 9 system requirements, PrestaShop 8 system requirements

Condividi

Ricevi le nostre novità e le offerte speciali

Iscrivendomi accetto che PrestaHU mi invii newsletter e utilizzi il mio indirizzo e-mail, in forma hash, per creare segmenti di pubblico pubblicitari in Google Ads e Meta. Il consenso può essere revocato in qualsiasi momento.

Informativa sulla privacy

Avvicina due dita o tocca due volte per ingrandire

I miei moduli