Make Drupal Redis super easy with Redis Enterprise
Follow these steps to install Redis as a cache for Drupal:
sites/all/libraries/predis
To configure Drupal to use Redis as a cache, append the following lines to your settings.php
file:
$conf['redis_client_interface'] = 'Predis';
$conf['redis_client_host'] = 'hostname';
$conf['redis_client_port'] = port;
$conf['redis_client_password'] = 'password';
$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';
hostname
with your database’s hostname or IP addressport
with your database’s portpassword
with your database’s password Displaying Redis Howto – merged.md.Redis Enterprise enables running Redis datasets in a highly available and auto-scalable manner, with predictable top performance.
The Redis Enterprise Software lets you install an enterprise grade Redis cluster in your environment of choice, whether an on-premises data-center or your preferred cloud platform. It gives you full control of your data and configuration – no clustering or sharding knowledge required!
Redis Enterprise Cloud is a fully-managed cloud service for hosting and running Redis dataset without dealing with nodes, clusters, failure recovery or performance stabilization. Our technology does all that in a fully automated manner. Redis Enterprise Cloud is available on all popular clouds and platforms-as-a-service.
For more information on using Redis’ products and services with drupal-7 please see the Howto page.