PHP Memcached issue -


How to set up two separate memcache for two different PHP applications in two servers (Windows and Linux)

I know how to set up for a single application. But I'm not able to configure for two different PHP applications. So please let me know which is good in the memcatch, please direct me. You can use different ports, for example: $ memcache = New lime; $ Memcache- & gt; Connect ('memcache_host', 11211); $ Memcache = new memcache; $ Memcache- & gt; Connect ('memcache_host', 11212);

and to run memcached using various ports, such as (for Linux):

  memcached -p 11211 -d memcached -p 11212 -d   

Hope it helps.

Comments

Popular posts from this blog

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

c - Performance of System() -

c++ - How to define methods in a base class that only work in derived classes? -