PHP 8.1 supported, PHP 7.1 dropped

Adobe Cloud components added PHP 8.1 support in March 2022 and ended support for PHP 7.1. Here is the audit, test and deploy sequence.

PHP 8.1 supported, PHP 7.1 dropped

In March 2022 Adobe Cloud components picked up official support for PHP 8.1 and ended support for PHP 7.1. Two things follow. A faster, better-supported runtime is available to you, and the clock on the old one has already stopped.

What PHP 8.1 gives you

  • Performance. Measurably faster execution on typical Adobe Commerce (Magento) workloads. JIT compilation and other runtime optimisations mean less server load and quicker responses.

  • Security. String handling, type safety and cryptographic functions have all been hardened, so the runtime resists certain classes of attack better than its predecessor.

  • Developer experience. Named arguments, enums, readonly properties and better error messages make custom extension code cleaner and harder to get wrong.

  • Compatibility. Staying current keeps you aligned with the libraries and tooling the rest of the ecosystem is building on.

PHP 7.1 is done

PHP 7.1 reached end of life in December 2019. No security patches, and no fix for anything discovered in the runtime from here on. Cloud infrastructure providers have already begun restricting and retiring 7.1 environments, which tends to make the decision for you at an inconvenient moment.

The migration, in four steps

Audit. Inventory every extension and every piece of custom code, and confirm each has been tested and certified for PHP 8.1. Chase vendors where there is no compatibility statement.

Test in development. Stand up a PHP 8.1 environment and run a complete regression, concentrating on payment processing, shipping integrations, inventory synchronisation and customer account operations.

Stage and validate. Deploy to an environment that mirrors production as closely as possible, load test it, and watch for the subtle incompatibilities that only surface under realistic conditions.

Deploy. Pick a low-traffic window, have rollback procedures ready, and accept that rolling forward is the safer direction.

If you are self-hosted or on-premise you control the timeline, which means you also own the risk. The same audit and testing regimen applies, plus confirming your hosting provider actually offers PHP 8.1 — many managed platforms have already retired 7.1 entirely.

What to prioritise in testing

Checkout, including payment methods, shipping calculations, tax rules, promotions and order confirmation. Customer accounts: login, registration, address management, order history, wishlist and reviews. Inventory: stock checks, reservations and the link to fulfilment systems. Admin: product editing, order management, support tools and reporting. And every integration you depend on — ERP, PIM, CMS, email marketing and any third-party API.

What this means for you

For most merchants the shape of this is March through August 2022 for testing and planning, then production deployment from September onwards. That is not a long runway once you have counted the extensions. Start the audit now and the rest is scheduling. Leave it, and the date gets picked for you by somebody else's deprecation notice.