WordPress installation requires PHP and MySQL version requirements and environment configuration matters

888u

Last update at :2024-06-27,Edit by888u

Snails shared the article "WordPress 5.2 will be launched at the end of April and requires at least PHP 5.6.20" a few days ago. This was mainly because the WordPress official website mentioned that 5.2 needs to be released at the end of the month. The version needs to require at least PHP version 5.6, which means that if our PHP version is lower than this version, there may be compatibility issues when upgrading to the new version. If we are in this situation, we definitely need to prepare in advance, because we have less than a month to upgrade.

In fact, when we downloaded the latest version of the program from the WordPress official website, there were documents that already mentioned the recommended best PHP and MYSQL database versions, as well as recommended WEB environment support.

We recommend servers running version 7.3 or greater of PHP and MySQL version 5.6 OR MariaDB version 10.0 or greater. We also recommend either Apache or Nginx as the most robust options for running WordPress, but neither is required.

We can see that the recommendation is PHP7.3 (the latest version is PHP7.3), and the minimum database requirement is MySQL5.6 or MariaDB 10.0, and the WEB engine is Nginx or Apache, which is also commonly used by all of us. This time it mainly requires the minimum version of PHP. In fact, the official also mentioned it in the article:

This is the first increase in PHP required version for WordPress since 2010, but may not be the only increase in 2019. The WordPress core team will monitor the adoption of the most recent versions of PHP with an eye towards making PHP 7+ the minimum version towards the end of the year.

This PHP upgrade is the first version requirement since 2010. It is estimated that PHP7+ version will be required to start in the future, so if we can, it is recommended to directly upgrade to version 7.0+. After all, judging from the tests of many netizens In terms of performance, the performance after PHP7+ is relatively excellent. However, the premise also needs to consider the compatibility of the themes and plug-ins we use.

If there are other programs in our server that need to use a lower version of PHP, we can consider coexisting multiple PHPs in the WEB environment, and general tools can also achieve this.

Recommended site searches: game server defense, purchase of registered domain names, Hong Kong servers, free domain name registration, mobile server rental, Ministry of Industry and Information Technology ICP registration number, US vps server, IP rental, US virtual space, vps server rental,

WordPress installation requires PHP and MySQL version requirements and environment configuration matters

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码