What is WordPress’ server requirement? Support for Each Version
It is necessary to have a server with PHP and MySQL installed to run WordPress. Summary of the recommended PHP and MySQL versions for each version of WordPress.
It recommends that you meet the following requirements to run the latest WordPress 5.4.2.
- PHP 7.4 or higher
- MySQL 5.6 or higher or MariaDB 10.1 or higher
- HTTPS support
The following is an overview of each need.
PHP is the programming language used to build and maintain WordPress.
Newer versions of PHP are faster and more secure, so staying up to date will help your site’s overall performance and security.
The minimum recommended version of PHP is 7.4.
MySQL or MariaDB
The SQL server is a required piece of software for the database WordPress uses to store all your site’s content and settings.
The minimum recommended version of MySQL is 5.6 and the minimum recommended version for MariaDB is 10.1.
HTTPS stands for HyperText Transfer Protocol Secure, which is an encrypted communication protocol.
An HTTPS connection is a more secure way of browsing the web. Many services now have HTTPS as a requirement.
HTTPS allows you to take advantage of new features that can increase site speed, improve search rankings, and gain the trust of your visitors by helping to protect their online privacy.
Recommended environment for Each Version
The table below shows the recommended PHP and MySQL versions for each version of WordPress.
|5.4.2||7.4 or higher||5.6 or higher(10.1 or higher)|
|5.2 to 5.4.1||7.3 or higher||5.6 or higher(10.1 or higher)|
|5.0 to 5.1 series||7.3 or higher||5.6 or higher(10.0 or higher)|
|4.9.5 to 4.9.13||7.2 or higher||5.6 or higher(10.0 or higher)|
|4.9.0 to 4.9.4||7.0 or higher||5.6 or higher(10.0 or higher)|
|4.7 to 4.8 series||7.0 or higher||5.6 or higher(10.0 or higher)|
|4.0 to 4.6 series||5.6 or higher||5.6 or higher(10.0 or higher)|
|3.2 to 3.9 series||5.2.4 or higher||5.0 or higher|
|2.9 to 3.1 series||4.3 or higher||4.1.2 or higher|
|2.5 to 2.8 series||4.3 or higher||4.0 or higher|
|2.1 to 2.3 series||4.2 or higher||4.0 or higher|
|2.0.x series||4.2 or higher||3.23.23 or higher|
Does it work in a non-recommended environment?
WordPress works with old PHP and MySQL, but there is a risk of being caught by security vulnerabilities.
It recommends that you update to the recommended environment.