Install Memcached and Memcached for PHP – CentOS 6.6

Make sure you have the epel repo installed on your system

#This is for CentOS 64-bit

wget wget
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

# Start as memcached daemon

# Set max simultaneous connections to 1024

# Set Memory size to 2048 - 4GB(4096)

#Set server IP address

Add Memcached to OS startup

chkconfig memcached on

Restart Memcached

service memcached restart

Install the Memcached PHP 

 yum install php-pecl-memcache



Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.