Memcached is a distributed, high-performance, in-memory caching system that is primarily used to speed up sites that make heavy use of databases. It can however be used to store objects of any kind. Nearly every popular CMS has a plugin or module to take advantage of memcached, and many programming languages have a memcached library, including PHP, Perl, Ruby, and Python. Memcached runs in memory and is thus quite speedy, since it does not need to write data to disk.
- These instructions are intended specifically for installing the Memcached PHP Extension on a single CentOS 7 node.
- I’ll be working from a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.
- Follow our tutorial on How to Install Memcached on CentOS 7 prior to this KB!
First, clean-up yum:
yum clean all
As a matter of best practice we’ll update our packages: