How to install Memcache on Ubuntu

Memcache is an open source distributed memory object caching system. Intended for use in speeding up dynamic web applications by alleviating database load.
DIFFICULTY Basic - 1 | Medium - 2 | Advanced - 3
TIME REQUIRED 15-30+ min
RELATED PRODUCTS Linux-based VPS or dedicated servers

This article will show you how to install Memcache on Ubuntu 14.04

When installing Memcache you can use apt-get to install everything that you need. First, run the update:

sudo apt-get update

Then, install the following packages:

sudo apt-get install mysql-server php5-mysql php5 php5-memcached memcached

Thats it! Memcache is installed and running, you can verify this by running:

ps aux | grep memcache

Was dit artikel nuttig?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Fijn dat we konden helpen! Kunnen we nog iets voor je doen?
Dat spijt ons. Tell us what was confusing or why the solution didn’t solve your problem.