PHP

configure: error: no, libmemcached sasl support is not enabled. (pecl/memcached, CentOS, cpanel)

# yum install libmemcached libmemcached-devel
# pecl install memcached
libmemcached directory [no]:

checking whether libmemcached supports sasl… no
configure: error: no, libmemcached sasl support is not enabled. Run configure with –disable-memcached-sasl to disable this check
ERROR: `/tmp/pear/temp/memcached/configure –with-libmemcached-dir=no’ failed

yum install cyrus-sasl-devel

# cd /usr/local/src
# wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
# tar -zxvf libmemcached-1.0.18.tar.gz
# cd libmemcached-1.0.18
# ./configure
# make
# make install

# pecl install memcached