Installing Memcached

Problem

You want to speed up your application using a cache.

Solution

Install Memcached

$ sudo apt-get install -y memcached php5-memcached
$ sudo service apache2 restart

The first line installs the package, the second restarts apache.

Discussion

Now you can configure your cache to use memcached.

See See Setting up the Memcached Cache Driver for instructions.

comments powered by Disqus