PHP 8.2 stops receiving security fixes from the PHP project on 31 December 2026. If your Magento 2 store still runs on PHP 8.2, you have about a month to move it, and for some Magento versions that move also means upgrading Magento itself. This guide shows which PHP version each Magento release supports, what Adobe says about PHP end of life and PCI compliance, and a safe order of work.
The dates that matter
| PHP branch | Security fixes until |
|---|---|
| PHP 8.2 | 31 December 2026 |
| PHP 8.3 | 31 December 2027 |
| PHP 8.4 | 31 December 2028 |
| PHP 8.5 | 31 December 2029 |
Source: php.net supported versions.
Your store does not stop working on 1 January. What changes is that a PHP vulnerability found after that date gets no official fix for 8.2. For a shop that takes card payments, that is a risk you should not carry into the new year.
Which PHP can your Magento version use?
Adobe supports only the combinations it tests. This is the picture from Adobe's system requirements and lifecycle policy at the time of writing:
| Magento release | PHP supported by Adobe | Standard support ends |
|---|---|---|
| 2.4.6 | 8.2, 8.1 | August 11, 2026 (extended support to August 31, 2027) |
| 2.4.7 | 8.3, 8.2 | May 31, 2027 |
| 2.4.8 | 8.4, 8.3 | May 31, 2028 |
| 2.4.9 | 8.5, 8.4 | May 31, 2029 |
Sources: Adobe Commerce system requirements and Adobe Commerce lifecycle policy. Adobe updates both pages with each security release, so check them again before you start.
What this means in practice:
- Magento 2.4.8 and 2.4.9: you are already off PHP 8.2. Just confirm the server runs a version from the table.
- Magento 2.4.7: PHP 8.3 is on Adobe's list, so this is a small move that does not need a Magento upgrade. Plan the jump to 2.4.9 as well, because standard support for 2.4.7 ends on May 31, 2027.
- Magento 2.4.6: Adobe lists only PHP 8.2 and 8.1, so you cannot leave 8.2 without upgrading Magento. This is the group that needs to start now.
What Adobe says about PHP end of life and PCI
Adobe's lifecycle policy has a table on PHP end of life and PCI compliance. It lists PHP 8.2 (end of life December 31, 2026) as affecting Magento 2.4.6 where PHP 8.2 is used, with the note that PCI compliance is at risk from the end of 2026 and that you should plan an upgrade before then. The same page says that Adobe does not provide security fixes for third-party software such as PHP, even when it reaches end of life during a release's support period.
The page also states that PCI compliance is the merchant's responsibility to assess, and recommends talking to your qualified security assessor. Adobe's table names 2.4.6, but PHP 8.2 is just as unsupported upstream on a 2.4.7 store, so our advice is the same for both: do not stay on it.
A safe order of work
1. Find out what runs where
bin/magento --version
php -v
composer why-not php 8.3
composer check-platform-reqs
Run these as the store's user, on the same server that serves the site. composer why-not lists the packages that would block the new PHP version before you change anything.
2. Choose the target
Take the newest PHP version your Magento release lists in the table above. If you are on 2.4.6, the target is a Magento upgrade, and our Magento 2.4.9 upgrade checklist covers the server changes that come with it.
3. Check extensions and custom code
Ask each extension vendor whether the installed version supports the target PHP. Replace or remove anything abandoned. For custom modules, run them on staging and read var/log/exception.log and var/log/system.log while you click through the store, because newer PHP versions turn old deprecations into visible warnings.
4. Rehearse on a staging copy
Copy code, database and media to a staging site with the target PHP. Test search, layered navigation, cart, every shipping and payment method, order emails, the admin order grid, cron jobs and queue consumers.
5. Switch PHP and rebuild
Point nginx and the command line to the same PHP version, then rebuild. We always run a full compile and static content deploy after a PHP change, even when Magento does not ask for it:
# nginx server block of the store
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
nginx -t && systemctl reload nginx
update-alternatives --set php /usr/bin/php8.3
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
The socket path above is the one Debian and Ubuntu use. Our guide to changing the PHP version of a Magento 2 store has the full steps, including the extensions each PHP version needs (intl, soap, bcmath, gd, zip and others).
6. Watch the store afterwards
Keep the old PHP-FPM installed until you are sure, so you can roll back by pointing nginx and the command line to it again. Check that cron runs with the new version too, then watch the logs and the checkout for the first days. If you can, avoid doing this on your busiest trading days.
How this works on ShopWhizzy servers
On a ShopWhizzy server every application runs its own PHP version, so two stores on the same server can use different ones. You pick the new version on the PHP tab of the application and press Switch version. If the server does not have that version yet, it is installed first, and the old pool keeps serving visitors until the new one is ready. If something breaks, you switch back the same way. The PHP versions guide lists the versions a server offers.
If you would rather not do it yourself, we can test the move on staging and switch the live store for you, or take a 2.4.6 store all the way to a supported Magento release with our Magento upgrade service. Work we deliver comes with 90 days of support after delivery, and we do not promise results: every store has its own extensions and risks.
Frequently asked questions
Will my store stop working on 1 January 2027?
No. PHP 8.2 keeps running. What ends is the official security support, so new PHP vulnerabilities will not get a fix from the PHP project for that branch.
I am on Magento 2.4.7. Can I stay on PHP 8.2?
It will keep running, but you would run a PHP branch with no security fixes. Adobe also tests 2.4.7 with PHP 8.3, so the move is small and worth doing before the end of the year.
Should I choose PHP 8.3 or 8.4?
Use the newest version your Magento release lists. For 2.4.7 that is PHP 8.3. For 2.4.8 it is 8.4 (8.3 is also listed), and for 2.4.9 it is 8.5 (8.4 is also listed).
I am on Magento 2.4.6. What are my options?
Adobe lists only PHP 8.2 and 8.1 for 2.4.6, so a supported PHP version means upgrading Magento. Start with an inventory of your extensions, because they decide how long the upgrade takes.
Do you also move WooCommerce, WordPress or Shopware stores off PHP 8.2?
Yes, the PHP version is set per application on our servers, whatever the platform. Check the platform's own requirements first, as you would for Magento.




