You are here

Memcached on CENTOS 6

Okay, thought it was hard but it is pretty easy

yum install memcached

nano /etc/sysconfig/memcached
and make sure the following (tweak as you see fit)
PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="512"
OPTIONS="-l 127.0.0.1"

Now save

Then start up memcache using
service memcache start

Then let memcache automatically startup on boot
chkconfig memcache on

Now install php support
yum install pecl
yum install php-pecl-memcached

GOOD LUCK!