DirectAdmin安装pecl-memcached模块并…

看到网上很多Directadmin的memcache教程都过时了,自己编译调试后,整理了一遍记录下来。

1.先安装依赖包libmemcached
wget https://soft.huayizhiyun.com/manage/directadmin/memcached/pecl-memcached/libmemcached-1.0.18.tar.gz
tar -zxvf libmemcached-1.0.18.tar.gz
cd libmemcached-1.0.18
./configure --prefix=/usr/local/libmemcached --enable-sasl
make
make install
cd ..