Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I read a bit about memcached but struggling to understand how exactly we use it.

  1. Is it a kind of server/application that we have to install on our machine?
  2. Is it a script that we have to include in our web application and call its functions ect. when needed?

Thanks in advance

share|improve this question
up vote 1 down vote accepted

Memcached is not a script. It is a service that provides a memory cache for your applications accessible via network. It is not an out-of-the-box solution. You need to use some API to use it in your applications. So, it depends on your application.

share|improve this answer
If I install it on my Ubuntu server, does it automatically serve its purpose or do I have to enable it or do something like connection to it in my scripts of my web application? I'm using Codeigniter for PHP. – BentCoder Mar 8 '12 at 10:19
I don't know much about codeigniter. Anyway, you need to use explicitly in your application. Otherwise, it has no effect and will not do anything. – Khaled Mar 8 '12 at 10:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.