1.11 Installation & Updating - Update PHP and WordPress

Created by Danny Wong, Modified on Fri, 07 Aug 2020 at 12:27 AM by Danny Wong

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

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 VERSION
MINIMUM SUPPORTED WORDPRESS VERSION
MINIMUM SUPPORTED PHP VERSION
4.3
5.2 (5.4 strongly recommended)
7.2
4.0
5.0 (5.4 strongly recommended)
7.0
3.9
5.0
7.0
3.8
4.9
5.6
3.6
4.7
5.2

The next sections show you how to find out which versions of WooCommerce, WordPress, and PHP are installed.

WooCommerce version

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:”

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

WordPress version

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.

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

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.

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

Update WordPress

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?

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

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

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

Why update PHP

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

  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.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article