LNMP (linux-nginx-mysql-php) Web architecture is currently the international popular web framework, the framework includes: Linux operating system, Nginx network server, MySQL database, PHP programming language, all components are free open source software, These four kinds of software together, become a free, efficient Web service system.
Linux, MySQL, PHP The advantages of these frameworks have been introduced before, LNMP and lamp is a different point is the Web server nginx, then nginx compared to the advantages of Apache?
Nginx is a small and efficient Linux Web server software, has been on some large web sites for many years, many domestic and foreign portals, industry sites are also used nginx, fairly stable.
The main features of nginx are stability, rich function, simple installation configuration and low system resources. Nginx has good support for reverse proxies and load balancing. Nginx can be done not only as a Web server, but also as a load-balancing server, proxy server and mail server.
As a Web server, Apache,nginx uses fewer resources to support more concurrent connections, Nginx handles static files, index files, and automatic indexing is highly efficient and more efficient.
As a proxy server, Nginx can realize the reverse proxy acceleration without caching, and improve the speed of web site operation.
As a load balancing server, Nginx can support both rails and PHP internally, as well as HTTP proxy servers, while also supporting simple fault tolerance and leveraging algorithms for load Balancing; Nginx is written in C, whether it is system resource overhead or CPU usage efficiency Perlbal is much better.
As a mail proxy server, Nginx is a very good mail proxy server (one of the first to develop this product is also as a mail proxy server).
Installation configuration, Nginx installation is simple, flexible configuration, the configuration file is very concise (also able to support Perl syntax), performance, Nginx is specifically designed for performance optimization, very focused on efficiency. It uses the poll model, can support more concurrent connections, maximum support for 50,000 concurrent connections, and use only very low memory resources, availability, NGINX support hot deployment, very fast start-up, can be uninterrupted service in the case of software version or configuration upgrades, Run in a few months without restarting, and you can almost do 7*24 display uninterrupted.
Visible, LNMP (linux-nginx-mysql-php) These four kinds of software combination, can become a free, efficient, scalable website service system.