New Requirement for WooCommerce 8.2: PHP 7.4+

The details

The minimum PHP version required for WooCommerce was bumped from 7.2 to 7.3 in WooCommerce 7.7 in May 2023. As part of that announcement, we mentioned that during mid 2023, we would bump the PHP requirement for WooCommerce to 7.4. Starting with version 8.2, scheduled for release in October 2023, WooCommerce will require PHP 7.4 or newer to work.

Why this change?

We took this decision for the same reasons that made us decide to bump to PHP 7.3: we are actively working on modernizing the WooCommerce codebase in order to keep it performant, scalable and secure; this includes improving compatibility with the PHP 8.x family, and removing support for old versions is an integral part of these efforts.

A PHP requirement bump announcement isn’t complete without the corresponding version usage graph, so here’s the one for May 2023:

image 3 1

If you compare it with the graph from January, you’ll see that PHP 7.3 is still declining, but it’s even more interesting to see how PHP 8 continues growing.

For completeness, here’s the graph for sites with WooCommerce 7.2 or newer, that is, the sites that got WooCommerce upgraded in the last six months:

image 3

We see an even higher presence of PHP 8 and an even lower usage of PHP 7.3. The share of these recently updated sites that use PHP 7.4 or newer is around 97%.

How can I tell if this affects me?

If your server is still on PHP ≤7.3 by the time WooCommerce 8.2 is published, your WooCommerce instance will continue working, but you won’t be able to upgrade past WooCommerce 8.1 (or any 8.1.x maintenance release published afterwards).

What action should I take?

We strongly recommend that you run an up to date and supported version of PHP; that includes PHP 8.0 and newer versions. The latest versions of PHP bring numerous performance improvements and ensure that your site is secure.

Reposted from WooCommerce