Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared Managed Cloud India
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Best lists Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Hosting · Explainer

What Are the WordPress Hosting Requirements?

Short answer

WordPress needs PHP 8.3 or newer, MariaDB 10.11 or newer or MySQL 8.4 or newer, and HTTPS support, as of November 2026. Apache or Nginx is the recommended web server. A WooCommerce store also needs WordPress 6.9 or newer and a WordPress memory limit of 256 MB or more.

Key takeaways

  • WordPress.org recommends PHP 8.3 or newer, MariaDB 10.11 or newer or MySQL 8.4 or newer, and HTTPS support, as of November 2026.
  • PHP 8.2 gets security fixes only until 31 December 2026, while PHP 8.3 gets them until 31 December 2027, according to php.net.
  • WordPress still runs on PHP 7.4 and MySQL 5.5.5, but WordPress.org says those versions are past end of life and may expose a site to security risks.
  • WooCommerce 10.8 and later asks for WordPress 6.9 or newer, PHP 8.3 or newer, and a WordPress memory limit of 256 MB or more.
  • WordPress needs the json, hash, and mysqli PHP extensions, and Site Health checks whether the required and recommended modules are installed.
  • Open Tools, then Site Health, then the Info tab to see your PHP version, database version, and memory limit.

What are the WordPress hosting requirements?

WordPress needs PHP 8.3 or newer, MariaDB 10.11 or newer or MySQL 8.4 or newer, HTTPS support, and a web server that runs PHP and MySQL.

WordPress.org lists those three items on its Requirements page. The page also names Apache or Nginx as the recommended web servers, while noting that any server that supports PHP and MySQL will do.

RequirementRecommended level as of November 2026What it does
PHP8.3 or newerRuns WordPress, themes, and plugins on the server
DatabaseMariaDB 10.11 or newer, or MySQL 8.4 or newerStores posts, pages, users, orders, and settings
HTTPSSupport on every installEncrypts logins, forms, and checkout pages
Web serverApache or NginxServes pages and handles requests
PHP extensionsjson, hash, and mysqli requiredLet WordPress talk to the database and handle data

These are recommended levels, not the lowest versions that will install. WordPress.org also gives a legacy note for older setups, which the next sections explain.

A host that meets this list gives you a safe starting point. A host that falls short on one item can still run WordPress for a time, but you will face upgrade work and added risk sooner.

What PHP version does WordPress need?

Use PHP 8.3 or newer for a new WordPress site, and plan a move to PHP 8.4 where your host and plugins allow it.

WordPress.org recommends PHP 8.3 or greater on its Requirements page. That figure is the recommended level as of November 2026, not a fixed rule for all time, so check the page again before a new install.

The PHP project gives each branch 2 years of active support and then 2 more years of security fixes only, for 4 years in total, according to php.net. After that period, the branch reaches end of life and gets no fixes.

PHP branchSupport as of November 2026Security fixes end
8.2Security fixes only31 December 2026
8.3Security fixes only31 December 2027
8.4Active support31 December 2028
8.5Active support31 December 2029

PHP 8.4 stays in active support until 31 December 2026, and PHP 8.5 stays in active support until 31 December 2027, according to the same php.net page. A newer branch gives you a longer window before the next forced move.

WordPress still runs on PHP 7.4 and newer, but WordPress.org says those older versions have reached official end of life and may expose a site to security vulnerabilities. Do not treat “it still installs” as proof that a version is safe to use.

Which database does WordPress need: MySQL or MariaDB?

Use MariaDB 10.11 or newer, or MySQL 8.4 or newer, for a new WordPress site.

WordPress.org lists MariaDB 10.11 or greater or MySQL 8.4 or greater on its Requirements page. Either database works for WordPress, so pick the one your host supports at a current version.

A database is the store for your content and settings. It holds posts, pages, comments, user accounts, and plugin settings, and WordPress reads and writes to it on most page loads that are not served from cache.

WooCommerce gives a lower database floor for stores. Its server recommendations for WooCommerce 10.8 and later list MySQL 8.0 or greater, or MariaDB 10.6 or greater. Meeting the WordPress.org figure covers that floor too.

WordPress also works with MySQL 5.5.5 and newer in a legacy setup, but WordPress.org warns that those versions have reached end of life and may expose a site to security vulnerabilities. Ask a host which database version it runs before you sign up, not after you move a site.

Why does WordPress need HTTPS?

Every WordPress site needs HTTPS support, with a valid certificate and pages served over HTTPS.

WordPress.org lists HTTPS support as one of its three core requirements, next to PHP and the database. The list is short on purpose: a host that cannot offer HTTPS cannot offer a safe WordPress install.

HTTPS encrypts the link between a visitor and your server. That matters for logins, contact forms, member pages, and checkout pages, where names, passwords, and payment details travel over the link.

Most hosts now include a free certificate with a plan, but the offer still needs a check. Ask whether the certificate covers your domain and renews on its own.

Also ask whether it applies to every page, not only the checkout page. If you need to compare certificate costs, read our guide to how much an SSL certificate costs.

Which web server works best for WordPress?

Apache or Nginx is the recommended choice, and either works when it runs PHP and MySQL.

WordPress.org calls Apache or Nginx the most featureful servers for running WordPress, while noting that any server that supports PHP and MySQL will do. That leaves room for other servers, but it does not make them a safer pick for a first site.

For Apache, WordPress.org's host template asks for the mod_rewrite module. That module lets WordPress use clean permalinks instead of plain query links.

Your control panel does not change this requirement. A panel such as cPanel or a host's own panel is a way to manage the server, not a replacement for the server itself. If you want to compare panels, see our guide to cPanel vs custom hosting panels.

Which PHP extensions does WordPress need?

WordPress needs the json, hash, and mysqli PHP extensions, plus a set of recommended extensions for images, remote requests, and text handling.

The Developer reference for the Site Health test says the test builds on the Hosting Team list, and it names json, hash, and mysqli as required. The same reference links to the Hosting Handbook server environment page for the full list.

The recommended list includes these modules:

  • curl, for remote requests to other servers
  • dom, exif, fileinfo, and xml, for reading and handling files and data
  • imagick, for image processing, with GD as a fallback editor
  • intl and mbstring, for text in more than one language
  • openssl, for secure outbound links
  • zip, for plugin and theme uploads

A missing extension does not always stop WordPress from loading. It can still limit a feature, such as image resizing, an update, or a link to an outside service.

Site Health flags missing modules, and your host or server admin must enable them. WordPress cannot add server extensions from the admin area.

How much PHP memory does WordPress need?

Ask for a WordPress memory limit of 256 MB or more, above all for a store or a site with many plugins.

WooCommerce asks for a WordPress memory limit of 256 MB or greater for WooCommerce 10.8 and later, in its server recommendations. That figure is a clear floor to ask a host about before you buy.

The PHP memory limit is the most RAM one PHP request may use. It is not the same as the total RAM on the server.

Total server RAM is shared by the web server, the database, and every site on the account. Our guide to how to read a hosting plan's CPU and RAM limits explains the difference in plain terms.

Check the limit on your own site under Tools, then Site Health, then Info, then Server. If the figure there is below 256 MB and your site shows memory errors, ask the host to raise it or move to a plan that allows it.

What extra requirements apply to a WooCommerce store?

A WooCommerce store needs WordPress 6.9 or newer, PHP 8.3 or newer, MySQL 8.0 or newer or MariaDB 10.6 or newer, HTTPS, and a 256 MB memory limit.

WooCommerce lists those figures for WooCommerce 10.8 and later in its server recommendations. The page also says WooCommerce is tested up to PHP 8.4, so 8.4 is a safe target after you check your extensions.

A store adds more load than a simple blog. Checkout, cart pages, and order emails cannot use a full page cache in the same way as a post, so the server must handle more live requests.

That is why the memory floor and the current PHP version matter more for a store. For help picking a plan, read our guide to how to choose hosting for an online store.

WooCommerce also lists optional items for some stores: cURL or fsockopen support, SOAP support for some extensions, and Multibyte String support for a store in a language other than English. After install, check the WooCommerce System Status page to see which items your server meets.

How do you check your hosting meets the requirements?

Open Tools, then Site Health, then the Info tab in your WordPress admin to see your PHP version, database version, and memory limit.

Site Health is built into WordPress. The Status tab flags problems, and the Info tab lists your setup in sections such as Server and Database. Read the Server section first, since it holds the PHP version and the PHP memory limit.

Follow these steps on a site you already run:

  1. Log in as an admin and open Tools, then Site Health.
  2. Open the Info tab and expand Server.
  3. Read the PHP version, PHP memory limit, and server software lines.
  4. Expand Database and read the database version.
  5. Compare each figure with the WordPress.org list in this guide.

Before you buy a new plan, ask the host the same questions in writing. A clear answer names the PHP version, the database version, and the memory limit.

Our guide to how to choose WordPress hosting lists the other questions to ask at the same time.

You can also check speed before you commit. Our guide to how to test hosting speed before buying shows how to run a fair check on a host you are still weighing.

What mistakes should you avoid?

Avoid picking a host on price alone when its PHP or database version is past end of life.

Other common mistakes include:

  • Keeping PHP 7.4 or 8.1 because WordPress still installs on it, even though php.net no longer supports it.
  • Accepting MySQL 5.5.5 or MariaDB 10.4 on a new site, when the current recommendation is far newer.
  • Treating HTTPS as an extra for later, instead of a core requirement from day one.
  • Skipping the extension check, then finding that image uploads or updates fail.
  • Never opening Site Health after a move, so an old PHP version stays in place for months.

Check the versions first, then compare price, support, backups, and speed. A cheap plan that needs a forced upgrade in a few months is not a saving.

Frequently asked questions

Can WordPress run on PHP 7.4?

Yes, WordPress still runs on PHP 7.4 and newer in a legacy setup, but WordPress.org says PHP 7.4 has reached end of life and may expose a site to security vulnerabilities. Move to PHP 8.3 or newer, and test plugins and themes on a staging copy first.

Is MariaDB better than MySQL for WordPress?

Either works when it meets the current WordPress.org recommendation: MariaDB 10.11 or newer, or MySQL 8.4 or newer. Pick the one your host supports at a current version, rather than switching databases for a small feature difference.

Do I need HTTPS if my site has no store?

Yes. WordPress.org lists HTTPS support as a core requirement for every install, not only for stores. HTTPS encrypts logins and forms, and a site without it will show browser warnings that put visitors off.

What happens if a PHP extension is missing?

WordPress may still load, but a feature can fail or fall back to a slower option. Site Health flags missing recommended modules. Ask your host or server admin to enable the missing extension, since WordPress cannot add server extensions from the admin area.

How often should I check my hosting requirements?

Check them before you buy hosting, after any move, and at least once a year. PHP and database versions reach end of life on fixed dates, so a setup that was current last year can fall behind without any change on your site.

Sources

  1. Requirements WordPress.org
  2. PHP: Supported Versions php.net
  3. WooCommerce Server Recommendations WooCommerce
  4. WP_Site_Health::get_test_php_extensions() WordPress Developer Resources

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

WPLegible editors

Researched from the primary sources listed above and checked against our editorial rules. About the site · How we test