Skip to content

Instantly share code, notes, and snippets.

@liorkesos
Created March 4, 2019 10:22
Show Gist options
  • Save liorkesos/2330b238ed09af5d0aa694978e2db2e9 to your computer and use it in GitHub Desktop.
Save liorkesos/2330b238ed09af5d0aa694978e2db2e9 to your computer and use it in GitHub Desktop.
redis
$conf[‘redis_client_interface’] = ‘Predis’;
$conf[‘redis_client_host’] = ‘<redisCacheName.redis.cache.windows.net>’;
$conf[‘redis_client_port’] = 6379;
$conf[‘redis_client_password’] = ‘<Primary Access Key>’;
$conf[‘lock_inc’] = ‘sites/all/modules/contrib/redis/redis.lock.inc’;
$conf[‘cache_backends’][] = ‘sites/all/modules/contrib/redis/redis.autoload.inc’;
$conf[‘cache_default_class’] = ‘Redis_Cache’;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment