I installed the postgresql API to talk to memcached

I have two servers running memcached
I added two servers

 memcache_server_add('localhost','11211');
 memcache_server_add('testmem','11211');

both hosts can see each other

So I added some data

      memcache_add(''1234'',''Ioana'');
      memcache_add(''1235'',''Yan'');

the retrieved it

   memcache_get('1234')

so I got back 'Ioana'

However when I retrieve the stats

memcache_stats();

I only get stats for the localhost, nothing for the 'testmem' server

It means even if I added two memcached servers, I'm only talking to the localone?

Thanks a lot...


Reply via email to