php - Multiple instance of memcache on same server -


I am using a Linux server I have installed a single memcache and all are OK. We are going to the other application on the same server. This requires a memcache how do I install a memcache so that each application can get its own instance of the memory. I am using the codeigniter framework.

By default, memcache is running on port 11211. But you have so many examples of Memcache on a server as you want. Just specify another port to run - and configure your application to connect to another port. Ex:

  • Example with 64M on port 11212 < P> memcache -p 11212-64-u no-d

  • with example 128 mL at port 11213

    memcache -p 11213 -m 128 - U Any -d

  • Example with port at 11g4 20G

    memcache -p 11214-M20480 -U no-d < / Li>

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -