Recently, due to project requirements, the server was upgraded from CentOS6 to CentOS7, and the corresponding PHP version was also upgraded to PHP5.6. We are familiar with a one-click installation package for LEMP environment, but in this article we will install each component module separately and build a complete PHP operating platform.
The LNMP environment we often refer to is the Linux/nginx/MySQL/PHP combination. What is LEMP? Actually, Nginx is pronounced Engine-X = E. The LEMP package is made up of Linux, nginx, MariaDB/MySQL, and PHP. It seems that LEMP and LNMP are the same. Now, it is customary to call LEMP in the industry. MariaDB is a branch of the community-driven MySQL database. It has more features and better performance, so we installed MariaDB under CentOS7. I already installed CentOS7. Now I just need to install Nginx, MariaDB and PHP.