Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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. –  inanzzz Mar 8 '12 at 10:19
1  
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

 
discard

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.