发布时间:2012-11-23 17:37:48
1,模拟web集群我启动了二个memcached进程,分别模拟二台服务器/usr/local/bin/memcached -d -m 20 -u zhangy -p 12000 -P ./memcached.pid/usr/local/bin/memcached -d -m 20 -u zhangy -p 13000 -P ./mem.pid2,修改php的配置vi /usr/local/php/lib/php.inisession.save_handler = "memcache".........【阅读全文】
发布时间:2011-06-30 19:24:11
memcached安装与配置 1.安装libevent#tar zxvf libevent-1.4.9-stable.tar.gz#cd libevent-1.4.9-stable#./configure --prefix=/opt/app/libevent#make; make install2.安装Memcached#tar zxvf memcached-1.2.6.tar.gz#cd memcached-1.2.6#./configure --prefix=/opt/app/memcache#make; make i.........【阅读全文】