- Place this module into sites/all/modules or the respective folder for your site
- In the module folder, run
git clone https://github.com/basho/riak-php-client.git
- Apply the included patch to the riak-php-client library โ
patch -p0 < riak-php-client.patch
- In settings.php, you can configure the Riak connection โ it defaults to:
$conf['riak_connection'] = array('host' => 'localhost', 'port' => '8098');
- Configure Drupal to use the Riak cache backend by adding the following lines to your settings.php, replacing the path to the riak_cache module as necessary:
include_once DRUPAL_ROOT .'/includes/cache.inc'; include_once DRUPAL_ROOT .'/sites/all/modules/riak_cache/riak_cache.inc'; $conf['cache_default_class'] = 'DrupalRiakCache';
archived-shomeya / riak_cache Goto Github PK
View Code? Open in Web Editor NEWDrupal Riak cache backend