How to Install the Memcached PHP Extension on Ubuntu 14.04 LTS

Cpanel/Whm License $3/mo Plesk License $10/mo Cloudlinux License $5/mo

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.

Pre-Flight Check

  • These instructions are intended specifically for installing the Memcached PHP Extension on a single Ubuntu 14.04 LTS node.
  • I’ll be working from a sxi.io Web Core Managed Ubuntu 14.04 LTS server, and I’ll be logged in as root.
  • Follow our tutorial on How to Install Memcached on Ubuntu 14.04 LTS prior to this KB!

Step #1: Install the Memcached PHP Extension

As a matter of best practice we’ll update our packages:

apt-get update

Then installing PHP Memcached extension and related packages is now as simple as running just one command::

apt-get install php5-memcached

Step #2: Verify Installation

Use the following command to view information on the installed PHP modules:

php -m | grep memcached

You can also verify the configuration of PHP with phpinfo. Follow our tutorial: How To: Check PHP Modules With phpinfo

Related posts

Ex-CFTC Commissioner Joins Crypto Exchange as Adviser

SXI ADMIN

Microsoft: Bitcoin Regulation Will Influence Expansion Plans

SXI ADMIN

How To Install Chef Workstation on CentOS 8 / RHEL 8

SXI ADMIN

ECB, Bank of Japan Launch Joint Distributed Ledger Research Effort

SXI ADMIN

Python For Loop Examples

SXI ADMIN

Bitcoin Startup Bitrefill Raises $2 Million Funding for Global Expansion

SXI ADMIN

Registered Broker Templum Plans Security Identifiers for Tokenized Assets

SXI ADMIN

Linux Find Out Graphics Card Installed In My System

SXI ADMIN

Howto: Linux Dovecot Secure IMAPS / POP3S SSL Server configuration

SXI ADMIN

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More