ThisCalculator

Everyday

WordPress Requirements: Server Needs Explained

Updated · Standard formula, shown below

To run WordPress, your server needs PHP 7.4 or newer, MySQL 5.7 or MariaDB 10.3 or newer, and HTTPS support. These are the official minimums, but for a fast, reliable site you should aim for PHP 8.1+, MariaDB 10.5+, and at least 1 GB of RAM.

Official Minimum Requirements

WordPress is open-source software written in PHP that stores content in a MySQL or MariaDB database. The official requirements, published in the WordPress.org documentation, are:

  • PHP: 7.4 or greater (8.0 and 8.1 are strongly recommended)
  • MySQL: 5.7 or greater, or MariaDB 10.3 or greater
  • HTTPS: WordPress recommends a valid SSL/TLS certificate
  • Web server: Apache or Nginx (any server that supports PHP and MySQL works)

These are the minimums to install and run WordPress. In practice, most hosts exceed them, and you should too if you want good performance.

Why PHP Version Matters

PHP is the scripting language that WordPress is written in. Each major PHP release brings speed improvements and security fixes. PHP 7.4 was released in 2019 and reached end-of-life in November 2022, meaning it no longer receives security patches. PHP 8.0 and 8.1 are faster and more secure, but 8.0 also reached end-of-life in November 2023. As of 2025, you should use PHP 8.1 or newer (8.2 and 8.3 are current stable versions).

If your server runs an older PHP version, WordPress will still work, but your site will be slower and more vulnerable to attacks. Many plugins and themes also require PHP 7.4+ and may break on older versions.

Database Requirements: MySQL vs MariaDB

WordPress stores all posts, pages, comments, users, and settings in a relational database. The two supported database engines are MySQL and MariaDB, a drop-in replacement that is often faster and more open-source-friendly. Both use the same SQL syntax, so you don’t need to choose one over the other for compatibility—just make sure the version is new enough.

  • MySQL 5.7 was released in 2015 and is still widely used, but MySQL 8.0 is the current major version with better performance and security.
  • MariaDB 10.3 was released in 2018. MariaDB 10.4 through 10.11 are common on shared hosts and offer similar functionality.

If you’re on a managed host, you don’t need to worry about the database version—it’s configured for you. If you’re setting up your own server, choose MariaDB 10.6+ or MySQL 8.0 for a good balance of stability and features.

Web Server: Apache vs Nginx

WordPress runs on any web server that can execute PHP and serve static files. The two most common are Apache and Nginx.

  • Apache is the traditional choice. It has a module called mod_rewrite that handles pretty permalinks (e.g., /about/ instead of ?page_id=2). It’s easy to configure via .htaccess files, which many WordPress plugins use to modify server behavior.
  • Nginx is faster at serving static files and uses less memory under high traffic. It doesn’t use .htaccess; instead, you configure rewrite rules directly in the server block. Nginx is a good choice for high-traffic sites or if you want to minimize resource usage.

Both work perfectly with WordPress. If you’re on shared hosting, you’ll likely get Apache. On a VPS, you can choose either.

Other Server Requirements: RAM, Storage, and CPU

The official requirements don’t specify hardware, but your server needs enough resources to run PHP, MySQL, and the web server simultaneously. Here are practical guidelines:

  • RAM: 512 MB is the absolute minimum for a single low-traffic site, but 1 GB is recommended. For a WooCommerce store or a site with heavy plugins, 2 GB or more is safer.
  • Storage: WordPress itself takes about 100 MB, plus your uploads (images, videos, plugins). A typical blog might use 1-5 GB; a media-heavy site could need 50 GB+. Choose an SSD for faster database and file access.
  • CPU: One vCPU is enough for a small site. For high traffic or complex queries, two or more vCPUs help.
  • Bandwidth: Most hosts offer unmetered or generous bandwidth. If you have a lot of images or video, you may need more.

These are not hard requirements—WordPress will run on a Raspberry Pi—but they determine how fast your site loads and how many visitors it can handle.

How to Check Your Server’s Requirements

If you’re already on a host, you can check your PHP version and database version in a few ways:

  1. Log into your WordPress admin dashboard.
  2. Go to Tools → Site Health. This page shows your PHP version, MySQL version, and other server info.
  3. If you have cPanel, look for Select PHP Version or MultiPHP Manager to see and change your PHP version.
  4. For database version, you can use phpMyAdmin (usually in cPanel) and look for the server info at the top of the page.

If you’re on a managed host like WP Engine or Kinsta, they handle all server configurations for you. If you’re on a VPS, you can run php -v and mysql --version in the terminal.

Common Problems and Misconceptions

One common misconception is that WordPress requires a specific hosting plan or a “WordPress-optimized” host. In reality, any host that meets the PHP and MySQL requirements will work. The difference is in performance and support.

Another issue: many shared hosts still run PHP 7.4 or even 7.2. If your site is on such a host, you may see warnings in the admin dashboard about outdated PHP. You should update PHP via your host’s control panel, or switch to a host that offers PHP 8.x.

Also, some hosts use a custom database setup that doesn’t support all MySQL features. For example, very old MySQL versions (5.6 or earlier) may cause issues with WordPress 6.x. Always check your host’s documentation or contact support if you’re unsure.

Frequently Asked Questions

Can I run WordPress on a free host like 000webhost?

Yes, but free hosts often have outdated PHP versions, limited storage, and no SSL certificate, which can cause security problems and slow loading. They’re fine for testing, but not for a live business site.

Does WordPress require a dedicated IP address?

No. WordPress works fine on shared IP addresses, which is what most shared hosting uses. A dedicated IP is only needed if you require a unique SSL certificate (rare) or if you want to access your site via IP address (not recommended).

What is the difference between shared, VPS, and dedicated hosting for WordPress?

Shared hosting is the cheapest and most common; you share server resources with other sites. VPS (Virtual Private Server) gives you dedicated resources on a virtual machine, offering more stability. Dedicated hosting gives you an entire physical server, which is overkill for most sites but useful for very high traffic.

Can I use PostgreSQL instead of MySQL?

WordPress does not officially support PostgreSQL. There are third-party plugins that allow it, but they are not maintained and can break with updates. Stick with MySQL or MariaDB.

Does WordPress need a lot of storage space?

WordPress itself is small (~100 MB), but your media library (images, videos) will grow. A typical blog uses 1-5 GB. If you host many videos or high-resolution images, you may need 20-50 GB or more. Consider using an external service like YouTube or a CDN for large media.

What happens if my server doesn’t meet the requirements?

WordPress will likely fail to install or will show errors. You might see a “Your server is running an unsupported version of PHP” message, or the database connection may fail. You’ll need to update your PHP or MySQL, or switch to a host that meets the requirements.

Related

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