[Debian] Memcache

Created: August 27, 2018 13:25 -
Last Updated: August 29, 2018 14:22

Memcache

Overview

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

code:

apt-get install memcached libmemcached php5-memcached

Redhat/CentOS

code:

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.