Possible Duplicate:
Using Memcache vs Memcached with PHP
I'm using AWS Elasticache and I've installed there php module which I believe is an extension of spymemcached. The catch is I believe I'm running memcache and not memcached. This is the code to create the object:
$memcached = new Memcached();
$memcached->setOption(Memcached::OPT_CLIENT_MODE, Memcached::DYNAMIC_CLIENT_MODE);
$memcached->addServer('goneglobalcache-1a.expalp.cfg.apse1.cache.amazonaws.com', 11211);
$memcached->set('key', 'value', 60);
When I go to write to the cache I can't use compression settings and was advised the problem is I'm using a memcache client.
Is there a way to tell which type of client I'm using and a way to switch?