Update PHP and WordPress

This document covers the minimum PHP, WordPress, and MySQL versions required to run WooCommerce. Use it to verify that your store meets these requirements and to update any outdated software.

WooCommerce minimum requirements

↑ Back to top

Note: PHP versions earlier than 8.1 and MySQL versions earlier than 5.6 no longer receive active support. Many of these versions have reached End of Life and are no longer maintained. Running outdated, unsupported versions of MySQL or PHP may expose your site to security vulnerabilities.

↑ Back to top

WooCommerce recommends PHP 8.3 or greater. While WooCommerce works with PHP 7.4 and above, that version reached its official End of Life in November 2022 and may expose your site to security vulnerabilities.

For your database, WooCommerce recommends MySQL 8.0 or greater, or MariaDB 10.6 or greater, for optimal performance and security. The minimum supported version is MySQL 5.6 or MariaDB 10.1. WooCommerce has been tested up to MySQL 9.0 and MariaDB 11.5.

Run the most current release of WooCommerce along with the required WordPress and PHP versions. This keeps your store secure and gives you access to all available features and functionality.

The following table lists each WooCommerce version and the minimum WordPress and PHP versions it requires.

WooCommerce versionMinimum required
WordPress version
Minimum required
PHP version
10.86.97.4
10.76.87.4
10.66.87.4
10.56.77.4
10.46.77.4
10.36.77.4
10.26.77.4
10.16.77.4
10.06.77.4
9.96.77.4
9.86.67.4
9.76.67.4
9.66.67.4
9.56.67.4
9.46.57.4
9.36.57.4
9.26.57.4
9.16.47.4
9.06.47.4
8.96.47.4
8.86.47.4
8.76.37.4
8.66.37.4
8.56.37.4
8.46.37.4
8.36.37.4
8.26.27.4
8.16.27.3
8.06.27.3
7.96.17.3
7.86.17.3
7.76.07.3
7.66.07.2
7.55.97.2
7.45.97.2
7.35.97.2
7.25.87.2
7.15.87.2
7.05.87.2
6.95.87.2
6.85.87.2
6.75.87.2
6.65.87.2
6.55.77.2
6.45.77.0
6.3 5.77.0
6.2 5.77.0
6.15.67.0
6.05.67.0
5.95.67.0
5.85.67.0
5.75.67.0
5.55.67.0
5.35.67.0
5.05.47.0
4.95.37.0
4.85.37.0
4.55.37.0
4.35.27.0
4.05.07.0
3.95.07.0
3.84.95.6
3.64.75.2

Check your WooCommerce version

↑ Back to top

To determine which version of WooCommerce your site is running:

  1. Go to WooCommerce > Status.
  2. Find the WordPress environment section.
  3. Look for the WooCommerce version row.
WooCommerce Status page showing the WooCommerce version row under the WordPress environment section

Update to the latest version of WooCommerce to stay current with security patches and features. For instructions, see Updating WooCommerce.

Check your WordPress version

↑ Back to top

To determine which version of WordPress your site is running:

  1. Go to WooCommerce > Status.
  2. Find the WordPress environment section.
  3. Look for the WordPress version row.
WooCommerce Status page showing the WordPress version row under the WordPress environment section

You can also find the WordPress version by going to Tools > Site Health > Info > WordPress.

If your WordPress version does not meet the minimum listed in the table above, see the Update WordPress section below for instructions.

Check your PHP version

↑ Back to top

To determine which version of PHP your site is running:

  1. Go to WooCommerce > Status.
  2. Scroll down to the Server environment section.
  3. Look for the PHP version row.
WooCommerce Status page showing the PHP version row under the Server environment section

If your PHP version does not meet the minimum listed in the table above, see Update PHP for instructions.

Update WordPress

↑ Back to top

WordPress is the software that powers your store and provides WooCommerce with its underlying framework. Keeping WordPress up to date protects your store and gives you access to the latest features.

Why update WordPress

↑ Back to top

There are two primary reasons to keep WordPress current:

  • Security — WordPress is the world’s most popular content management system and a frequent target for attacks. The WordPress team continuously fixes, improves, and hardens security in each release.
  • New features — WordPress adds capabilities that extensions like WooCommerce build on. New WooCommerce features often depend on newer versions of WordPress, so you need both to take advantage of them.

How to update WordPress

↑ Back to top

WordPress recommends updating to the latest version as soon as it is released. Follow these steps to update:

  1. Make a backup before performing an update in case anything unexpected happens. For instructions, see WordPress backups.
  2. Update WordPress using one of the following methods:
    • Go to Dashboard > Updates > WordPress Updates in your WordPress admin.
    • Follow the steps outlined in the WordPress support guide on Updating WordPress.

Update PHP

↑ Back to top

Running the latest supported version of PHP improves your store’s speed and security. PHP is the programming language that WordPress and WooCommerce run on. Your hosting provider controls the PHP version at the server level, but you can typically change it from your hosting panel.

Why update PHP

↑ Back to top

There are two primary reasons to keep PHP current:

  • Performance — Newer PHP versions are more efficient. Updating can make your WooCommerce store up to 3–4 times faster.
  • Security — PHP is the world’s most popular web programming language and, like WordPress, a frequent target for attacks. Running the latest version ensures that known vulnerabilities in older versions cannot be exploited.

How to update PHP

↑ Back to top

Follow these steps to update your PHP version:

  1. Make a backup before performing an update in case anything unexpected happens. For instructions, see WordPress backups.
  2. Follow the instructions on the WordPress.org Update PHP page. It provides details and a template you can copy and send to your hosting provider to request a PHP upgrade.

Questions and support

↑ Back to top

Do you still have questions and need assistance? 

This documentation is about the free, core WooCommerce plugin, for which support is provided in our community forums on WordPress.org. By searching this forum, you’ll often find that your question has been asked and answered before.

If you haven’t created a WordPress.org account to use the forums, here’s how.

  • If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the WooCommerce Marketplace.
  • Need ongoing advanced support or a customization built for WooCommerce? Hire a Woo Agency Partner.
  • Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.

If you weren’t able to find the information you need, please use the feedback thumbs below to let us know.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.