Currently Viewing Posts Tagged pecl memcache

Install Memcached with Admin Panel on Centos 6.4 64bit

Since I installed PHP 5.5.3 and Zend OPcache v7.0.3, it is good for WordPress opcode already. For other cache optimization, I need a cache system. I choose Memcached server.

Part 1. Install Memcached Server

I install Memcached with following command:

yum install memcached

Then change the setting of it.

 vi /etc/sysconfig/memcached

Change the last line of option as below to restrict access from 127.0.0.1 only. and CACHSIZE to 128M.

PORT="11211";
USER="memcached";
MAXCONN="1024";
CACHESIZE="128";
OPTIONS="-l 127.0.0.1";

Start Memcached

/etc/init.d/memcached start

Memcached doesn’t start by default upon boot, we want it to start upon boot.

chkconfig --levels 235 memcached on

Continue reading “Install Memcached with Admin Panel on Centos 6.4 64bit”

  • Archives