ThisCalculator

Everyday

WooCommerce System Requirements: What Your Server Needs

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

WooCommerce needs a server running PHP 7.4 or newer (8.0+ recommended), MySQL 5.6 or MariaDB 10.1+, and HTTPS with a valid SSL certificate. You also need WordPress 6.3 or later and at least 256 MB of PHP memory, though 512 MB is safer for larger stores. This article breaks down each requirement, explains why it matters, and helps you choose the right hosting.

Formula

The calculator above checks three minimum thresholds: PHP version (must be 7.4 or higher), PHP memory limit (must be at least 256 MB), and MySQL/MariaDB version (must be 5.6 or 10.1+). Each output returns 1 if the condition is met, 0 if not. The “OK” columns are simply comparison results: version >= minimum.

Worked Example

Using the defaults: PHP 8.0, memory 256 MB, MySQL 5.6. PHP 8.0 ≥ 7.4 → 1. Memory 256 ≥ 256 → 1. MySQL 5.6 ≥ 5.6 → 1. All three pass, so the server meets WooCommerce’s baseline.

Why These Requirements Exist

WooCommerce is a plugin that runs on WordPress, so it inherits WordPress’s server needs but adds its own. The PHP version determines which language features and security fixes are available; older PHP versions are unsupported and vulnerable. MySQL/MariaDB stores your products, orders, and customer data. The memory limit matters because WooCommerce loads many scripts and handles sessions, especially during checkout or when processing large product catalogs.

Full Requirement Breakdown

  • PHP: 7.4 is the minimum, but 8.0 or 8.1 is strongly recommended. PHP 8.x is faster and more secure.
  • MySQL or MariaDB: MySQL 5.6+ or MariaDB 10.1+. Newer versions improve performance and support more concurrent connections.
  • HTTPS: An SSL certificate is required. Without it, payment gateways and browsers may block checkout.
  • WordPress: Version 6.3 or later. Always keep WordPress updated.
  • PHP Memory Limit: 256 MB minimum, but 512 MB is recommended for stores with many plugins or large product images.
  • PHP Extensions: mysqli, mbstring, curl, gd or imagick, zip, and openssl are typically needed.

How to Check Your Current Server

You can check your server’s PHP version and memory limit from the WordPress admin: go to Tools → Site Health. It shows the PHP version, MySQL version, and memory limit. For a more detailed view, create a temporary file named phpinfo.php with the content <?php phpinfo(); ?> and open it in your browser. Delete it immediately after checking.

Choosing the Right Hosting

Shared hosting often meets the minimum requirements but may struggle with traffic spikes. Look for hosting that specifies “WooCommerce-ready” and offers at least PHP 8.0, a modern MySQL/MariaDB, and a generous memory limit. Managed WordPress hosts usually handle these settings automatically. If you’re on a tight budget, many budget hosts still provide PHP 8.0 and 512 MB memory. Avoid hosts that still run PHP 5.6 or MySQL 5.5 – they are end-of-life and insecure.

Common Problems and Fixes

  • “Your server is running PHP 5.6” – Contact your host to upgrade. Most can do it from a control panel.
  • Memory exhausted error – Increase WP_MEMORY_LIMIT in wp-config.php to 512M.
  • SSL certificate not showing – Ensure your site URL starts with https:// and that the certificate is valid.
  • MySQL connection errors – Check your database credentials and that the MySQL server is running.

Performance Beyond Minimums

Meeting the minimums just means the store runs. For good performance, consider a server with SSD storage, a CDN, and caching (like Redis or Varnish). PHP 8.1 can be up to 20% faster than 7.4. Also, use a lightweight theme and limit the number of plugins. A store with 1,000 products will need more memory than a store with 50.

Frequently Asked Questions

Can I run WooCommerce on shared hosting?

Yes, many shared hosts meet the minimum requirements. However, if you expect high traffic or have a large catalog, consider a VPS or managed WooCommerce host for better performance.

What happens if my PHP version is too old?

WooCommerce may not install, or it will display a warning. Old PHP versions are also a security risk because they no longer receive security patches.

Does WooCommerce require a specific amount of RAM?

There’s no official RAM requirement, but the PHP memory limit (256 MB minimum) is what matters. The server’s physical RAM should be at least 2 GB for a small store, more for larger ones.

Can I use MySQL 5.5?

No, it’s below the minimum and end-of-life. Upgrade to at least MySQL 5.6 or MariaDB 10.1.

Do I need a dedicated IP address?

No, a shared IP is fine. What’s essential is a valid SSL certificate.

Is WooCommerce compatible with PHP 8.2?

Yes, WooCommerce is compatible with PHP 8.2, though some older plugins may not be. Always test on a staging site first.

Related

Formula used
in t | PHP version | - | 8.0 | 0
in d | Memory limit (MB) | MB | 256 | 0
in m | MySQL version | - | 5.6 | 0
out s | Minimum PHP OK? | - | t >= 7.4 | 0
out mem | Minimum memory OK? | - | d >= 256 | 0
out db | Minimum MySQL OK? | - | m >= 5.6 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.