Process for installing memcache


(Nic Hubbard) #1

What is the process for installing memcache on Debian? Would it just be as simple as doing 'apt-get install memcache'? Or is it much more involved?


(Dw Andrew) #2

apt-get install memcached would get memcached installed, the rest depends if you are running nginx or apache.

 

apt-get install memcached php5-memcache

 

So now you have memcached and the php extension - just make sure it's enabled in the conf.d directory (i deleted my debian vm just the other day, can't check!)


(Nic Hubbard) #3

apt-get install memcached would get memcached installed, the rest depends if you are running nginx or apache.

 

apt-get install memcached php5-memcache

 

So now you have memcached and the php extension - just make sure it's enabled in the conf.d directory (i deleted my debian vm just the other day, can't check!)

 

Yeah, we are using Apache.