标签:style blog http color io os ar strong sp
作者:zhanhailiang 日期:2014-10-06
1. 下载安装libevent(MemcachedServer依赖libevent包)
cd libevent-2.0.21-stable/ ./configure --prefix=/usr/local/libevent-2.0.21-stable make && make install
2. 下载安装MemcachedServer
cd memcached-1.4.20 ./configure --prefix=/usr/local/memcached-1.4.20 --with-libevent=/usr/local/libevent-2.0.21-stable make && make install
3. 下载安装libmemcached
cd libmemcached-1.0.18 ./configure --prefix=/usr/local/libmemcached-1.0.18 --with-memcached make && make install
注意官方对libmemcached的描述:
4. 下载安装MemcachedClient
/usr/local/php/bin/phpize ./configure --prefix=/usr/local/libmemcached-1.0.18 --with-memcached --with-mysql=/usr/local/mysql/bin/mysql_config --with-gearmand make && make install
注意官方对MemcachedClient的描述:
总结如下
MemcachedServer, libmemcached, MemcachedClient之间的关系
标签:style blog http color io os ar strong sp
原文地址:http://blog.csdn.net/billfeller/article/details/39824287