LNMP整合memcache

nginx的抗并发性能比mysql强好多,在LNMP运行时,mysql负载随着访问量的增加而显得力不从心, 从而限制了网站性能发挥。通过memcache可明显提高网站性能。 在https://www.roamway.com/?p=330 已列出了LNMP搭建过程,本文在此基础上整合memcache. 1.安装memcache-3.0.6 ./configure –prefix=/usr/local/memcache \ –with-php-config=/usr/local/php/bin/php-config \ –enable-memcache \ –with-zlib-dir=/usr/local/zlib make && make install 2.安装memcached-1.4.5 ./configure –prefix=/usr/local/memcach \ –with-libevent=/usr/local/libevent make && make…

Deploy LNMP

Compared nginx with apache, nginx use epool model, and performance is more execllent than apache. This article will introduce LNMP (Linux+Nginx+MySQL+PHP) deployment in CentOS6.3 x86-64…