Linux Mint PHP Memcached Extension Installation
You are Welcome! The Tutorial shows you Step-by-Step How to Install the Latest PHP memcached Extension with Sasl support from source for Linux Mint 17.1 Qiana i386/amd64 GNU+Linux.
The PHP memcached extension is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
This extension uses the libmemcached library to provide an API for communicating with memcached servers. It also provides a session handler (memcached).
Memcached 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 also an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
How to Install/Enable PECL Command on Mint LinuxPHP PECL for Mint
Open a Shell Terminal Emulator Session
(Press “Enter” to Execute Commands)
Installing Required pkg-config Mint Package.
sudo apt-get install pkg-config
If Got “User is Not in Sudoers file” then see: How to Enable sudo
How to Install libmemcached with Sasl support for Mintlibmemcached+sasl Mint Installation
Download the PHP Pecl Memcached ModuleLatest Pecl Memcached
Installing Memcached extension:
tar xvzf ~/Downloads/memcached*
sudo make install
Enabling the PHP Memcached Extension:
sudo nano /etc/php5/apache2/php.ini
on the Extensions Section:
Ctrl+x to Save & Exit.
ReStart Apache to Load the Memcached Module:
service apache2 restart