PHP 8.6 released: should you upgrade your PrestaShop or OpenCart shop now?
Marius, PHP developer · Published 2026-11-20
On 19 November 2026 php.net released PHP 8.6.0, a new major version of PHP. On the same day security updates were released for older versions: PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. Beforehand, php.net announced that the highest severity of the issues fixed in these updates is critical.
This article is for online shop owners, not developers. I answer whether it is worth moving to PHP 8.6 yet, whether PrestaShop, OpenCart and modules will work with it, what to do with older shops, and why another date matters more right now – PHP 8.2 end of support on 31 December.
What PHP 8.6 is
PHP is the programming language that PrestaShop, OpenCart and many other websites are written in. A new major PHP version is released once a year, usually in November. PHP 8.6 is this year’s version.
According to php.net, PHP 8.6 gets active support (bug and security fixes) until 31 December 2028 and security fixes until 31 December 2030.
In short: what is new in PHP 8.6
Most new features matter to developers rather than shoppers. In plain words:
Partial Function Application – some of a function’s arguments can be provided in advance and the rest passed later.
Default values for readonly properties – properties that cannot change can get their value right where they are declared, without assigning it in the constructor.
Io\Poll API – more efficient monitoring of many network connections at once, useful for event loop libraries such as ReactPHP and AMPHP.
clamp() – a new function that keeps a value within given limits, e.g. a quantity no lower than 1 and no higher than 100.
\Time\Duration – a new class for describing lengths of time, such as a waiting time.
SortDirection – a standard way to express sort order (ascending or descending).
For a shop owner other changes matter more. Some old functions are now deprecated, many functions now throw an error where they used to silently accept an invalid value, and session settings are stricter by default (e.g. session cookies now get SameSite=Lax). Changes like these are what usually break older modules.
Should you move to PHP 8.6 now?
For a live shop – not yet. On day one a new PHP version is ready itself, but the systems and modules that have to run on it usually are not. I recommend:
-
not switching the PHP version of a live shop in the first weeks after the release;
-
waiting until PrestaShop or OpenCart and your module developers confirm PHP 8.6 compatibility;
-
if you want to prepare early, testing PHP 8.6 on a copy of the site and reviewing the PHP error log.
What matters much more right now is that the 19 November security update is installed for the PHP version you use (8.2.36, 8.3.37, 8.4.28 or 8.5.13). If your shop runs on a hosting provider’s server, ask them whether the update is already installed.
Will PrestaShop, OpenCart and modules work with PHP 8.6?
PrestaShop. The PHP compatibility chart in the official PrestaShop 9 documentation currently marks PHP 8.6 and newer as not supported – for both PrestaShop 9.0 and 9.1–9.2. The recommended PHP version for the latest PrestaShop releases is 8.5. So a PrestaShop shop should not switch to PHP 8.6 yet.
OpenCart. The OpenCart documentation only lists a minimum requirement of PHP 8.0 or later. The latest releases (4.1.0.4 and 3.0.5.1, released on 11 August 2026) include fixes for PHP 8.5 compatibility, but I found no official information about PHP 8.6.
Modules and themes usually lag behind the system itself. Payment (e.g. Paysera), shipping (e.g. Omniva, LP Express), product import and accounting (e.g. B1) modules have to work flawlessly, so test them first. The same applies to other PHP systems and custom-built websites.
What to do with an older shop: PrestaShop 1.7, OpenCart 2
Many shops still run on PrestaShop 1.7 or OpenCart 2. According to the PrestaShop documentation, PrestaShop 1.7.8 officially supports only PHP 7.1–7.4, and php.net no longer supports those PHP versions. There is no official information on OpenCart 2 compatibility with newer PHP versions.
In that case there are two options: upgrade the system itself (e.g. to PrestaShop 9 or a newer OpenCart version, together with modules and theme), or adapt the existing shop’s code to a newer PHP version. I have adapted old OpenCart 2 shop files to run on new PHP versions without upgrading the platform. Which option fits depends on the shop, its modules and theme, so I assess each case individually.
Why PHP 8.2 end of support matters more right now
According to php.net, PHP 8.2 security support ends on 31 December 2026. After that date newly found PHP 8.2 vulnerabilities will no longer be fixed. Version 8.2.36, released on 19 November, may be one of the last PHP 8.2 fixes.
So for most shop owners the real question today is not “should I move to PHP 8.6” but “will my shop work with PHP 8.3, 8.4 or 8.5”. According to php.net, PHP 8.4 gets security fixes until the end of 2028 and PHP 8.5 until the end of 2029. More in the article PHP 8.2 security support ends on 31 December 2026: what PrestaShop and OpenCart owners should do.
What to do now
-
check which PHP version your shop runs on (I described how in Critical PHP security vulnerability (October 2026));
-
make sure the 19 November security update for your PHP version is installed;
-
if you use PHP 8.2 or older, plan the move to a supported version before 31 December;
-
choose a PHP version that your PrestaShop or OpenCart version officially supports, and test it on a copy of the site first;
-
check the key processes: cart, checkout, payment, shipping, emails, imports and exports;
-
consider PHP 8.6 once the system and module developers confirm compatibility.
Frequently asked questions
Will my shop stop working if I do not move to PHP 8.6?
No. The PHP 8.6 release has no effect on websites that are already running. What matters is using a supported PHP version and installing its security updates on time.
Does PrestaShop support PHP 8.6?
As of 2026-11-20, the official PrestaShop documentation marks PHP 8.6 as not supported for PrestaShop 9.0–9.2. The recommended PHP version is 8.5.
Which PHP version should I choose now?
One that your PrestaShop or OpenCart version officially supports and that still receives security fixes. For many shops that is PHP 8.3, 8.4 or 8.5, depending on the system version and modules.
Do I have to move an old OpenCart 2 shop to a new version?
Not always. I have adapted old OpenCart 2 shop files to run on new PHP versions without upgrading the platform. Whether this suits your shop depends on its modules and theme.
Sources: php.net – PHP 8.6.0 Release Announcement, What’s new in PHP 8.6, ChangeLog and Supported Versions; PrestaShop 9 and PrestaShop 1.7 system requirements; OpenCart system requirements, OpenCart 4.1.0.4 and OpenCart 3.0.5.1 release notes. Information checked on 2026-11-20; see these sources for the latest data.
Also read: PHP 8.2 end of support · Critical PHP security vulnerability (October 2026) · PrestaShop programming · OpenCart programming · PHP programming
I will check your PHP and shop version
I will check your shop’s PHP and PrestaShop/OpenCart version and module compatibility, and tell you which PHP version is safe to move to. I work remotely by email with shops outside Lithuania as well. I:
-
check PHP, PrestaShop or OpenCart, module and theme compatibility with a newer PHP version;
-
test the upgrade on a copy of the site and fix incompatibilities;
-
adapt an older shop’s code to a newer PHP version when upgrading the whole system is not worth it;
-
help update PHP, the system and modules;
-
carry out a website security audit if you suspect the site may have been hacked.
Send the shop URL, the PrestaShop or OpenCart version if you know it, and which PHP version you see. I reply within one business day.
Contact Me!
Do you have questions about PrestaShop or OpenCart modules, product import solutions, SilverStripe, or custom PHP development?
Write to me, and I will respond promptly to help you find the best solution for your business.
Contact information
Ateities g. 19, LT-67443 Krosna, Lazdijai District Municipality, Lithuania
AB SEB bankas
SWIFT: CBVILT2X
Contact me
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. More: Privacy Policy.