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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -