Webmaster's Community
Webhosting Forums => Dedicated Server Administration => Topic started by: Savera on July 06, 2012, 08:22:09 AM
-
I installed memcached using yum and then install libmemcached library through yum with following command:
yum install libmemcached
It installed fine but when I tried to install memecached php extension through pecl , i get error :
checking for libmemcached location... configure: error: memcached support
requires libmemcached. Use --with-libmemcached-dir= to specify the prefix
where libmemcached headers and library are located
I have installed libmemcached then why it is not working or able to find ?
-
Nevermind, I solved this problem by install libmemcached manually from source and then it was resolved.
I did following steps:
wget http://launchpad.net/libmemcached/1.0/1.0.4/+download/libmemcached-1.0.4.tar.gz
tar xvfz libmemcached-1.0.4.tar.gz
cd libmemcached-1.0.4
./configure
Then I ran
pecl install memcached
and done :)