Authorsupport support Article Reference NumberAA-05012 Views3445 0 Rating/ 1 Voters



Memcache is a free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Installation from Linux Packages

Ubuntu & Debian


apt-get install memcached libmemcached php5-memcached



yum install memcached

Installation from EasyApache (WHM/cPanel)

EasyApache MemCache is the Apache module rather than the PHP module as we do not list or provide the PHP module there. When you compile EasyApache with the MemCache Apache module, you end up with it available via Apache only not via PHP. 

1. Please refer to the wiki article on EasyApache Build

Select the php addon "mod_mem" when building in EasyApache

After installing these components, then create the following file:


echo "/usr/local/lib/" > /etc/

Run the following:



memcached -d -u nobody -m 1024 -p 11211

Test to make sure it is installed:


root@host [~]# php -i | grep -i memcached


memcached support => enabled

libmemcached version => 1.0.4

Registered save handlers => files user sqlite memcached

There are no comments for this article.
Info Add Comment
Nickname: Email (will not be shown): Subject: Comment:
Quick Jump Menu
Subscribe to updates Subscribe to Updates
Email to a frien Email to a Friend
Print Print Article
Info Vote
Info Ask a Question
Email (will not be shown): Subject: Question: