Added support for memcache xcache and apc