yum -y install gcc+ gcc-c++
=>
libmemcached:
[root@localhost libmemcached-1.0.18]# ./configure --prefix=/usr/local/libmemcached --with-memcached
memcached:
[root@localhost memcached-3.1.3]# /usr/local/php/bin/phpize
[root@localhost memcached-3.1.3]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-libmemcached-dir=/usr/local/libmemcached/ --disable-memcached-sasl
=================================
==========================================
server:
http://www.linuxfromscratch.org/blfs/view/svn/index.html
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libevent.html
[root@localhost libevent-2.1.8-stable]# ./configure --prefix=/usr/local/libevent
[root@localhost memcached-1.5.13]# ./configure --prefix=/usr/local/memcached --with-libevent=/usr/local/libevent/
[root@localhost memcached]# ./bin/memcached -d -m 256 -u root -p 11211