LNMP整合memcache

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

部署LNMP

nginx 和 apache 的比较, nginx 使用 epool 模型, 性能比apache更优秀. 本文将介绍LNMP (Linux+Nginx+MySQL+PHP) 在 CentOS6.3 x86-64 中部署…