Update PHP and WordPress

To optimize your WooCommerce store’s performance and security, it should be running the minimum supported versions of PHP and WordPress. This keeps your business running smoothly and creates the best online experience for customers.

WooCommerce Minimum Requirements

↑ Back to top

PHP versions less than 8.1 and MySQL versions less than 5.6 no longer receive active support, many versions are at End Of Life, and are therefore no longer maintained. As such, using outdated and unsupported versions of MySQL and PHP may expose your site to security vulnerabilities.

The most current release of WooCommerce, and required WordPress and PHP versions, should power your website, not only for security reasons but also to take advantage of all available features and functionality.

WooCommerce versionMinimum required
WordPress version
Minimum required
PHP version
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

WooCommerce version

↑ Back to top

To determine which version of WooCommerce is running on your site:

  1. Go to WooCommerce > Status.
  2. Find the WordPress environment section.
  3. Find “WooCommerce version:”
An image of the System Status Report with the version of WooCommerce highlighted

We recommend updating to the latest version of WooCommerce. More info at Updating WooCommerce.

WordPress version

↑ Back to top

To determine which version of WordPress is running on your site:

  1. Go to WooCommerce > Status on your Dashboard.
  2. Go to WordPress environment.
  3. Find WordPress version.
An image of the System Status Report with the version of WordPress highlighted

Alternatively, go to Tools > Site Health > Info > WordPress.

If the WordPress version on your site does not meet the minimum listed in the table above, go to Update WordPress.

PHP version

↑ Back to top

To determine which version of PHP is running on your site:

  1. Go to WooCommerce > Status on your Dashboard.
  2. Scroll down to Server environment.
  3. Find PHP version.
An image of the System Status Report with the version of PHP highlighted

If the PHP version on your site does not meet the minimum listed in the table above, go to Update PHP.

Update WordPress

↑ Back to top

WordPress is the software that powers your store and provides WooCommerce with the underlying framework on which to build the optimal eCommerce experience.

Why Update WordPress?

↑ Back to top

Security

WordPress is the world’s most popular content management system and therefore a target for hackers. The WordPress team works on a rolling basis to fix, improve and harden security.

New features

WordPress adds features for plugins on which to build and develop. That means new WooCommerce features are dependent on newer versions of WordPress, and you need both to take advantage.

How to update WordPress

↑ Back to top

WordPress recommends that you update to the latest version upon release.

  1. Make a backup before performing an update in case anything unexpected happens. Instructions at: Backups – Automatic and Manual.
  2. Update WordPress.
    • Go to Dashboard > Updates > WordPress Updates, or
    • Follow steps outlined at Updating WordPress, given by the WordPress Support team.

Update PHP

↑ Back to top

Your WooCommerce store is faster and more secure by running the latest version of PHP.

Why update PHP

↑ Back to top

PHP is the coding language that WordPress and WooCommerce run on and is set on a server level by your hosting company that you can typically control within your hosting panel.

Performance

The latest version of PHP has been developed to be more performant and efficient than former versions of PHP, so updating can make your WooCommerce store up to 3-4 times faster.

Security

PHP is the world’s most popular web programming language and, similar to WordPress, is a target for hackers. Running the latest version of PHP ensures that loopholes in older versions  cannot be exploited because the team is consistently making improvements.

How to update PHP

↑ Back to top
  1. Make a backup before performing an update in case anything unexpected happens. Instructions at: Backups – Automatic and Manual.
  2. Follow instructions at Update PHP from the WordPress.org website. It gives details and a template you can copy/paste in requesting help from your hosting provider to upgrade your version of PHP.

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.