linux--lnmp(php+memcache)

目的是加快反应速度

将路径写入文件,方便操作
linux--lnmp(php+memcache)

linux--lnmp(php+memcache)
解压 安装memcache

linux--lnmp(php+memcache)linux--lnmp(php+memcache)linux--lnmp(php+memcache)
修改php文件
linux--lnmp(php+memcache)linux--lnmp(php+memcache)linux--lnmp(php+memcache)

linux--lnmp(php+memcache)
如果在memcached文件中写入:
OPTIONS="-l 127.0.0.1" 意为只监听本机端口

linux--lnmp(php+memcache)
测试下telnet
linux--lnmp(php+memcache)
cp php页面到nginx默认发布目录

linux--lnmp(php+memcache)linux--lnmp(php+memcache)测试
linux--lnmp(php+memcache)linux--lnmp(php+memcache)
linux--lnmp(php+memcache)

linux--lnmp(php+memcache)测试:
linux--lnmp(php+memcache)linux--lnmp(php+memcache)linux--lnmp(php+memcache)linux--lnmp(php+memcache)
结论:有memcache速度快,容错率高

linux--lnmp(php+memcache)linux--lnmp(php+memcache)linux--lnmp(php+memcache)