public function testConfig($config)
{
if (!(class_exists('Memcache') || class_exists('Memcached'))) {
throw new \Exception('The php module memcache or memcached is not activated in your PHP environment.');
}
if (!$config['servers']) {
throw new \Exception('No servers set.');
}
return true;
}