Recently, one of our users asked what the recommended server requirements are for running a WordPress website.
The best thing about WordPress is that it will work in almost any kind of environment. However, when you’re picking a hosting solution for your site, it’s important to check whether it meets the basic prerequisites or not.
In this article, we will share important WordPress server requirements you should know.
Why is it Important to Check Server Requirements?
All WordPress websites on the internet need a server to function. They are used to store and use website files, databases, media files, content, and other important data.
When it comes to running WordPress smoothly, there are some server requirements you should look into. Technically, WordPress will work in minimalist conditions, like on outdated versions of PHP or basic hardware, but it’s not ideal.
WordPress server plays a big role in your site’s performance. Limited server specifications can slow down your site, which can have a negative impact on user experience and keyword rankings.
It will also make it difficult to handle large spikes in traffic. If you run multiple WordPress plugins and third-party tools, then meeting server requirements is critical. Otherwise, you’ll risk breaking your site or experiencing sluggish performance.
That said, let’s look at the server requirements for WordPress. You can click the links below to jump ahead to any section:
Important WordPress Server Requirements
To run WordPress, you will need to check some prerequisites. These include the PHP version, MySQL or MariaDB version, HTTPS support, web server type, storage space, and other hardware specifications.
Let’s take a closer look at each of these requirements.
1. Ensure the Server Supports Recommended PHP Version
WordPress currently requires PHP version 7.4 or higher to work smoothly. PHP is a programming language for creating dynamic interactive websites. It is open source and WordPress is written using PHP.
Just like any other programming language, there are many versions of PHP you can use. Each version receives updates and fixes for up to 2 years. While WordPress officially recommends PHP version 7.4, it no longer gets any security updates.
That’s why we would suggest using the latest version. If you already have a WordPress site, then it’s better to update the PHP version at the earliest.
This will protect your site from security vulnerabilities, bugs, malware, and hackers. Plus, it will improve performance by running processes much faster and reducing memory usage.
You can also check the PHP version of your server by going to Tools » Site Health from the WordPress dashboard. From here, switch to the ‘Info’ tab.
Next, you can scroll down to the ‘Server’ tab.
Go ahead and click the tab to expand the Server section and view the server’s system information along with the PHP version.
Besides that, you should also check the PHP memory allocated by the WordPress server. PHP memory is the amount of memory reserved for running PHP-based processes.
The standard PHP memory used by WordPress is 64MB, but this is often not high enough. If a task or process requires more memory to work, then it could lead to the WordPress memory exhausted error.
A simple fix is to increase the PHP memory by manually editing the wp-config.php file or .htaccess file. Or you can reach out to your web hosting provider and increase the limit.
2. Check for Suggested MySQL or MariaDB Versions
WordPress recommends MySQL version 5.7 or greater and MariaDB version 10.4 or higher to function.
MySQL and MariaDB are database management systems used by WordPress to store and retrieve blog information. You only need any one of the systems to install and use WordPress on a server.
You can easily access the databases from your hosting provider’s cPanel. For instance, simply use phpMyAdmin to access the MySQL database in your web browser.
However, when checking the WordPress server requirements, make sure that the database is stored on a solid-state drive (SSD). It is the fastest storage technology currently available and offers quick performance.
You should also see if the server offers automated database optimization and if there is an option for automated database backups.
3. Look for NGINX or Apache Web Server Software
The optimal web server software recommended by WordPress is NGINX or Apache. While it is not mandatory to run WordPress, using either software has certain advantages.
For instance, Apache is an open-source server software that is fast, reliable, and secure. It powers almost 31% of web servers and is highly customizable. You can use different extensions and modules to meet the needs of any environment.
On the other hand, NGINX is newer and faster and requires fewer resources to run than Apache. It runs more than 34% of web servers and is developed to address performance issues. However, it doesn’t offer the flexibility that you’d get with Apache.
When looking for a web server for your WordPress site, either Apache or NGINX is a great choice.
PRO TIP: Many users have had great success with Litespeed server software as well. If you’re interested in checking it out, we recommend using Hostinger because they have optimized Litespeed hosting for as low as $2.99 per month.
4. Support for HTTPS by WordPress Server
HTTPS, or hypertext transfer protocol secure, is an encryption method that secures the connection between your server and your user’s browser. It is an extension of HTTP, and all web addresses begin with HTTPS.
HTTPS makes it harder for hackers to eavesdrop on your connection, and it helps make your site more secure. Plus, it also sends a positive signal to search engines like Google and helps improve your WordPress SEO.
That’s why it’s important to check if your WordPress server supports HTTPS and offers SSL certificates.
For more details, you can see our guide on how to get a free SSL certificate for your WordPress website.
5. WordPress Server Hardware Requirements
When choosing a WordPress server, you should also look into some basic hardware specifications.
That’s because a web server is actually a physical server that stores and shares websites with people on the internet. If the hardware requirements are limited, then you could run into storage issues, poor performance, and other WordPress errors.
Some important hardware requirements include checking the disk space available for storage, RAM (random access memory), and CPU (central processing unit).
- Storage (Disk Space) – The minimum disk space requirement for WordPress is 1 GB. However, we suggest looking for servers that offer at least 10 GB or more storage. WordPress will use disk space to store website files, images, videos, plugins, themes, and other data. So, as your site grows, it is better to have enough space to keep your website running smoothly. Plus, look for SSD drives as they are faster than the standard HDD (hard disk drives).
- Memory (RAM) – It acts as a link between your server’s hard disk and processor. RAM speeds up server processes by temporarily storing data required by the CPU from the hard disk. WordPress itself only requires at least 512 MB of RAM, but look for a web server that has an option for expansion. As your site grows, you’ll need more RAM to improve performance.
- Processing Power (CPU) – The processor or CPU is the brain of your web server, and it controls how many processes can happen at a given time. Its performance is usually measured in gigahertz (GHz) or the number of cores available. WordPress requires only a 1.0 GHz CPU to work normally. However, more powerful processors will have multiple cores and deliver faster performance.
To learn more, please see our guide on how to determine the ideal size of a web server for your website.
6. Check Your WordPress Server Location and CDN Option
The physical distance between your site’s server location and the user’s location can affect the loading speed of your website. If a user is located near your server, then your site will load faster compared to someone living further away.
To speed up your WordPress site, many web servers offer a content delivery network (CDN).
It is a network of servers spread across the globe, and they store static versions of your site. When a user wants to view your content, the closest server in the CDN will instantly load the website.
Even though it’s not a technical server requirement, when you’re looking at hosting companies for your site’s needs and requirements, there is an added advantage if the one you choose offers a CDN.
You may want to see our list of the best WordPress CDN services.
Bonus: Pick the Best WordPress Servers
Now that you know some important WordPress server specifications, the next step is to pick a hosting solution that meets these requirements.
In our 16+ years of experience, we’ve tested multiple website hosts. And to help you out, here are some of the best hosting providers you can choose from.
1. Bluehost
Bluehost is the oldest web host in the market, and they’re an official WordPress-recommended hosting provider.
It offers a free domain for 1 year, a free SSL certificate, and a 1-click WordPress installation with every plan. Plus, you get SSD web storage space starting from 10 GB and going all the way up to 100 GB.
Besides that, it offers free CDN with every pricing plan. If you opt for dedicated hosting, then you get a minimum of 4 CPU cores (2.3 GHz) and 1TB HDD storage.
2. SiteGround
SiteGround is one of the most popular and highest-rated hosting providers. They provide a unique in-house speed and security solution for WordPress.
With SiteGround, you get free WordPress installation, 10 GB of web storage space that goes up to 40 GB, a free SSL certificate for HTTPS support, free CDN, and more.
It easily meets the minimum WordPress server requirements and offers advanced solutions. For instance, it automatically updates the PHP version once it is stable, and lets you create unlimited MySQL databases, offers SSD storage, and more.
3. Hostinger
Hostinger is one of the fastest WordPress hosting services in the industry. It offers automatic 1-click WordPress install, free CDN, free domain name, and 24/7 customer support.
The best part about Hostinger is that the minimum storage space it offers is 100 GB, which goes up to 200 GB. Plus, it offers the fastest SSD technology currently available.
Besides that, you get free SSL, unlimited bandwidth, regular backups, unlimited databases, and multiple PHP version support. Their shared plans also run on Litespeed web server software, a popular alternative to Apache and NGINX.
If you want more options for picking a website server, then please see our guide on how to choose the best WordPress hosting.
We hope this article helped you learn about important WordPress server requirements you should know about. You may also want to see our guide on the difference between a domain name and web hosting and how to move WordPress from HTTP to HTTPS.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Samuel
Thank you WpBeginner, One thing that jump at me about storage is the checking that the server storage is using SSD, before now i’d not really care what type of storage device is being used by the server, all I look for is the number in terms of its Gigabyte, thanks for directing my attention to it through this article. I also realize that we should take note if server offer automated optimization of database. This is a new perspective, a new way of looking at things i do regularly for me. These are things i usually don’t give thought to. It should be noted that database automated back up by a web server is really a time saver, in that it will save you a lot of maintenance time since your server does this for you automatically. It is a desired features. Thanks for this new insight of yours.
Mark
What about Speed ?
Some hosting services offer 100Mbps others 250Mbps others 500Mpbs
Is 250Mps considered a fast site data speed wise ?
Is 100Mps enough ?
WPBeginner Support
Unless you have a very large site or a very large number of site visitors visiting at one time, most hosting’s speed should be fine for a site starting out.
Admin
Jiří Vaněk
Greatly written article. When I was setting up my own server for WordPress, I wasn’t sure whether NGINX or Apache would be better. In the end, I used the tried-and-tested Apache and MariaDB platform. After reading your article, I believe I made the right choice because I would likely have achieved the same result with NGINX. The other information in the article is also excellent and served as a springboard to check if I have sufficient capacity to run the website. Thank you very much for this great summary, which allowed me to verify my server configuration and ensure there are no weak spots. Excellent work.
Hajjalah
For sure, you have clearly stated the basic server requirements for any WordPress blog to run effectively but some times many WordPress users mainly focus on the hosting costs and customer care and neglect many useful factors which directly affect the website performance.
This usually occurs if such users do not first explore guides list this one. I personally find the CPU usage limits as one of the major factors for choosing a hosting services because low CPU limits get overused so quickly during peak hours which significantly impact website speed. Thanks for detailing this.
Dennis Muthomi
Hi, I do have a quick question about the “Check for Suggested MySQL or MariaDB Versions” section. I followed the steps you mentioned and went to Tools » Site Health, switched to the ‘Info’ tab, and scrolled down to the ‘Database’ tab.
here’s what I found:
Extension: mysqli
Server version: 10.11.7-MariaDB-1:10.11.7+maria~ubu2204
Client version: mysqlnd 8.1.27
In the article, you mentioned that I only need one of the systems (either MySQL or MariaDB) to install and use WordPress on a server. so, I’m a bit confused as to why I’m seeing both mysqli and MariaDB in my site’s details.
could you clarify this for me?
WPBeginner Comments
MySQL and MariaDB are related in infrastructure. So it’s likely the server is just using the Mysqli extension to connect to the MariaDB database.
Dennis Muthomi
I had no idea MySQL and MariaDB were related like that.
So if I’m understanding correctly, my site is actually using MariaDB, and the Mysqli extension is just the middleman connecting WordPress to the MariaDB database behind the scenes. thanks for the clarification – i have learn something new today!
Moinuddin Waheed
I think it is the other way around or the server is powering up both according to the requirements.
Given the scenario, it supports both MySQL and Maria db.
I might be wrong because of the technicality involved but given the scope of these server and their wide base, they would definitely give dimensions for both of the databases.
Jiří Vaněk
It works like this: your website uses MariaDB as the database. The MySQLi extension is a relational database driver used in the PHP scripting language to provide an interface with MySQL databases. So, it’s essentially just a “component” of PHP that serves to connect to the MariaDB database. This is a somewhat simplified explanation.
Moinuddin Waheed
These are very needed details for any one considering to buy hosting for ones websites.
Specially the storage requirements which often people get confused with and settle with substandard services providers.
pro tips for novice to choose the best hosting service for wordpres, choose the one suggested by wpbeginner, you will have all these requirements automatically fulfilled because they recommend only what they have first hand experience with and are trusted.