I used pecl to install memcached but recieved this error

checking for libmemcached... yes, shared
checking whether to enable memcached session handler support... yes
checking whether to enable memcached igbinary serializer support... no
checking whether to enable memcached json serializer support... no
checking whether to disable memcached sasl support... no
checking for ZLIB... yes, shared
checking for zlib location... /usr
checking for session includes... /usr/local/php53/include/php
checking for memcached session support... enabled
checking for memcached igbinary support... disabled
checking for libmemcached location... configure: error: memcached support requires libmemcached 1.0.x. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are located
ERROR: `/tmp/pear/temp/memcached/configure' failed

this is basicly means that the package memcache is not installed on the server to make the apache binary packages of it
just do these steprs

In case of centos 64bit

yum install libmemcached.x86_64 libmemcached-devel.x86_64 memcached-devel.x86_64

In case of Cenos 32bit

yum install libmemcached.i686 libmemcached-devel.i686 memcached-devel.i686

After that install the memcached agian using pecl

pecl install memcached


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.