
Quick answer: WordPress.org's requirements page (read 22 November 2026) recommends a host that supports PHP 8.3 or greater, MariaDB 10.11 or greater or MySQL 8.4 or greater, and HTTPS, on Apache or Nginx. The WordPress Hosting Handbook goes further and recommends PHP 8.4 or later for production. PHP 8.2 reaches end of life on 31 December 2026, and PHP 8.3 has been in security-only support since 31 December 2025 (PHP.net). WordPress 7.1 still runs on PHP 7.4 and up, but those old versions are end-of-life. Check your PHP and database versions in Tools, Site Health, Info, Server, and ask your host to confirm in writing which versions it runs and when it will upgrade.
"What do I need to host WordPress?" has a short official answer and a longer practical one. This guide uses WordPress.org's requirements page, the WordPress Hosting Handbook's server environment page and PHP.net's supported versions table, all read on 22 November 2026, plus the Site Health documentation. We did not test any host for this page. For the deadline that matters most this year, see our guide to PHP 8.2 end of life on managed hosting.
Short answer: PHP 8.3 or greater, MariaDB 10.11 or greater or MySQL 8.4 or greater, and HTTPS, on Apache or Nginx, is what WordPress.org recommends a host support. The Hosting Handbook recommends PHP 8.4 or later for production. Anything older still works but is end-of-life and may expose your site to security problems.
What are the official WordPress requirements?
| Component | WordPress.org requirements page | Hosting Handbook note |
|---|---|---|
| PHP | Version 8.3 or greater | PHP 8.4 or later recommended for production; WordPress 7.1 requires PHP 7.4 or later |
| Database | MariaDB 10.11 or greater, or MySQL 8.4 or greater | Lists the long-term-support versions and end-of-life dates below |
| HTTPS | Support required | Recommended for better security |
| Web server | Apache or Nginx recommended; any server that runs PHP and MySQL will do | Apache 2.4, Nginx 1.30 stable or 1.31 mainline, LiteSpeed Web Server 6.3, OpenLiteSpeed 1.8 or 1.9, Angie 1.12 |
Sources: WordPress.org requirements and Hosting Handbook, read 22 November 2026. The Handbook says it checked web server versions at the WordPress 7.1 release.
WordPress.org also says that in a legacy environment WordPress works with PHP 7.4 and MySQL 5.5.5 and above, but that those versions have reached end of life and may expose your site to security vulnerabilities. In other words, "it still runs" and "it is a safe place to run" are different questions.
Which PHP version should your host run?
PHP.net says each release branch gets two years of active support, then two more years of critical security fixes only, and then reaches end of life. Its table on 22 November 2026:
| PHP branch | Released | Active support until | Security support until |
|---|---|---|---|
| 8.2 | 8 Dec 2022 | 31 Dec 2024 | 31 Dec 2026 |
| 8.3 | 23 Nov 2023 | 31 Dec 2025 | 31 Dec 2027 |
| 8.4 | 21 Nov 2024 | 31 Dec 2026 | 31 Dec 2028 |
| 8.5 | 20 Nov 2025 | 31 Dec 2027 | 31 Dec 2029 |
| 8.6 | 19 Nov 2026 | 31 Dec 2028 | 31 Dec 2030 |
Source: PHP.net, Supported Versions, read 22 November 2026.
The Handbook adds that PHP 8.4 is fully supported by WordPress 6.7 and later, PHP 8.5 by WordPress 6.9 and later, and that hosts should test their full stack before making a new PHP version the default. That is why a brand-new release such as PHP 8.6 is not usually where you want a production site on day one; the practical target is PHP 8.4 or 8.5.
Which database versions are officially recommended?
| Software | Long-term-support version | End of life (Handbook) |
|---|---|---|
| MySQL | 9.7 LTS | April 2034 |
| MySQL | 8.4 LTS | April 2032 |
| MariaDB | 12.3 LTS | 12 June 2029 |
| MariaDB | 11.8 LTS | 4 June 2028 |
| MariaDB | 11.4 LTS | 29 May 2029 |
| MariaDB | 10.11 LTS | 16 February 2028 |
Source: WordPress Hosting Handbook, Server Environment, read 22 November 2026. The Handbook also lists end-of-life MySQL and MariaDB versions that should be upgraded.
How do you check what your site is running?
- In the WordPress dashboard open Tools, then Site Health, then Info and expand the Server section. The documentation says it shows the PHP and database details for your site (WordPress 5.2 and later).
- On a very old install, the Handbook suggests the Health Check and Troubleshooting plugin to get the same screen.
- Take a screenshot of the versions before you ask a host to change anything, and take a backup first; see managed WordPress backups and retention.
- Test a PHP upgrade on a copy of the site first. A staging copy is covered in WordPress staging sites on managed hosting.
What should you ask a host before you sign up or renew?
WordPress.org publishes a message you can send a host. Adapted from it, with the Handbook's PHP guidance added:
- Which PHP version does a new site run today, and can I choose the version per site?
- Is PHP 8.4 or later available, and what is your plan for PHP 8.2 reaching end of life on 31 December 2026?
- Which MariaDB or MySQL version do you run, and when will it be upgraded?
- Is HTTPS included for every site, with automatic renewal?
- Do you run Apache, Nginx or LiteSpeed, and does it support the rewrite rules WordPress permalinks need?
- Can I roll back after a PHP change, and are backups taken before changes?
Managed WordPress hosts differ in how much of this they do for you, and prices differ too. Compare options in our best managed WordPress hosting guide, check what you will pay at renewal in hosting renewal price increases, and if you are moving, use measure a site before you migrate.
See Cloudways plans →May earn a commission.
The Cloudways button is an affiliate link and may earn a commission. Source links on this page are ordinary links.
How we made this page: from WordPress.org's requirements page, the WordPress Hosting Handbook, PHP.net's supported versions table and the Site Health documentation, all read 22 November 2026. We did not test any host or version. Dates and versions change; confirm on the official pages before you plan an upgrade.
Running a store? WooCommerce publishes its own recommendations, including a 256 MB WordPress memory limit and optional cURL, SOAP and mbstring support; see WooCommerce server requirements (read 26 November 2026).
Compare prices before you buy
Our highest-intent guides, built from official pricing pages:
- Cloudways alternatives compared: Rocket.net, WPX, SiteGround and more
- SiteGround vs Cloudways
- Cloudways pricing
Frequently asked questions
What are the minimum requirements to run WordPress?
Which PHP version is best for WordPress in 2027?
When does PHP 8.2 reach end of life?
Is PHP 8.6 safe for WordPress yet?
How do I find my WordPress PHP version?
Did you test any host for this page?
Sources
Official pages, documentation and primary documents this page relies on. Where the text gives a price, limit or rule, it names the date that page was read. Vendors change pages; check the source before you buy.
- WordPress.org's requirements page wordpress.org
- WordPress Hosting Handbook's server environment page make.wordpress.org
- PHP.net's supported versions table php.net
- Site Health documentation wordpress.org
- Cloudways official site cloudways.comCommission link