How to Install Latest PHP Memcached With Sasl Support on Ubuntu 15.04 Vivid 32-64bit Gnu/Linux

May 20, 2015 | By the+gnu+linux+evangelist.

Linux Ubuntu PHP Memcached Extension Installation

Hi! The Tutorial shows you Step-by-Step How to Install Latest PHP memcached Extension with Sasl support from source for Ubuntu 15.04 Vivid Vervet 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.

Installing Php memcached with Sasl support from source on Ubuntu - Featured
  1. How to Install/Enable PECL Command on Ubuntu Linux

  2. Open a Shell Session
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    Php memcached installation on Ubuntu linux - Open Terminal
  3. Installing Required pkg-config Ubuntu Package.

    sudo apt-get install pkg-config

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  4. How to Install libmemcached with Sasl support for Ubuntu

    libmemcached+sasl Ubuntu Installation
  5. Download the PHP Pecl Memcached Module

    Latest Pecl Memcached
  6. Installing Memcached extension:

    tar xvzf ~/Downloads/memcached*
    cd ~/Downloads/memcached*/
    phpize
    ./configure
    make
    sudo make install
  7. Enabling the PHP Memcached Extension:

    sudo nano /etc/php5/apache2/php.ini

    Append.

    on the Extensions Section:

    /nextension=memcached.so;

    Ctrl+x to Save & Exit.

  8. ReStart Apache to Load the Memcached Module:

    service apache2 restart

QuickChic Theme • Powered by WordPress