Webhosting Forums > Dedicated Server Administration
PHP memcached extenstion centos 6.2 libmemcached location error
(1/1)
Savera:
I installed memcached using yum and then install libmemcached library through yum with following command:
--- Code: ---yum install libmemcached
--- End code ---
It installed fine but when I tried to install memecached php extension through pecl , i get error :
--- Code: ---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
--- End code ---
I have installed libmemcached then why it is not working or able to find ?
Savera:
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 :)
Navigation
[0] Message Index
Go to full version