1. libevent `libevent` is an asynchronous event notification library that is used by `memcached`. It is a required part of installation. ``` cd /usr/local/src wget http://monkey.org/~provos/libevent-1.4.13-stable.tar.gz tar -zxvf libevent-1.4.13-stable.tar.gz cd libevent-1.4.13-stable ./configure && make && make install; ``` 2. memcached This will install the Memcached daemon on the server. ``` cd /usr/local/src wget http://memcached.googlecode.com/files/memcached-1.4.10.tar.gz tar -zxvf memcached-1.4.10.tar.gz cd memcached-1.4.10 ./configure && make && make install; ``` 3. libmemcached `libmemcached` is a client library used to interface with the `memcached` server. ``` cd /usr/local/src wget http://launchpad.net/libmemcached/1.0/1.0.2/+download/libmemcached-1.0.2.tar.gz tar -zxvf libmemcached-1.0.2.tar.gz cd libmemcached-1.0.2 ./configure make && make install ``` *** PHP Module *** There are two memcached related PHP modules. memcache and memcached. Please note that the D in the module names is not a typo, they are named that close together. While both modules do essentially the same thing, which is providing a way for PHP to communicate with the memcached daemon, they are not interchangeable. Pleases consult the customer's software to determine which module needs to be installed. If you are receiving errors after installing one of the modules, you will have to install the other. 4. memcached (php extension) ``` cd /usr/local/src wget http://pecl.php.net/get/memcached-1.0.2.tgz tar -zxvf memcached-1.0.2.tgz cd memcached-1.0.2 phpize ``` Next run this to get their current php configuration line... ``` php -i | grep "Configure Command"| tail -n 1 | sed -e "s/'//g" ``` OR grab the configure command from a `phpinfo()` page Run the configure command from the above step then: ``` make && make install ```