How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

October 20, 2014

Memcached on centos 6.5

Filed under: Linux — Tags: , , , — admin @ 11:57 am

I am trying to install the memcached not the memcache on centos 6.5
Well if you try with pecl install memcached a error will appear and you can’t install it.
A solution is to install it from source.
libmemcached release 1.0.18 – installed from source
php-memcached release 2.1.0 – installed from source & Added memcached.so in php.ini

So basically you download libmemcached and run: configure ; make; make install
And php-memcached and run: phpize; configure; make; make install
After this you can add to /etc/php.d/memcached.ini the line
extension=memcached.so

In order to have sasl please install also this before compiling the libmemcached

yum install cyrus-sasl-devel

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress