Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Make sure you have the epel repo installed on your system
#This is for CentOS 64-bit wget wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-8.noarch.rpm
Install Memcached
yum install memcached
With installation done, we’ll need configure Memcached now
# Running on Port 11211 PORT="11211" # Start as memcached daemon USER="memcached" # Set max simultaneous connections to 1024 MAXCONN="10240" # Set Memory size to 2048 - 4GB(4096) CACHESIZE="2048" #Set server IP address OPTIONS="-l 127.0.0.1"
Add Memcached to OS startup
chkconfig memcached on
Restart Memcached
service memcached restart
Install the Memcached PHP
yum install php-pecl-memcache