2.14.5.7. Configure Redis in Drupal

See more in Redis.
  1. Open the page Drupal | Redis and at the bottom, copy the link to the archive with the latest version of the Redis module corresponding to your version of Drupal.
  2. Open the admin panel of the site.
  3. Go to the "Extend" section.
  4. Click "Install new module".
  5. Paste the copied link into the "Install from a URL" field.
  6. Click "Install".
  7. Wait for the installation to complete.
  8. In the "Extensions" section ("Extend"), select "Redis" from the list of extensions and click "Install" at the bottom of the page.
  9. At the end of the file sites/default/settings.php, add the following code:
    $settings['redis.connection']['host'] = '/home/example/.system/redis.sock';
    $settings['redis.connection']['port'] = NULL;
    $settings['cache']['default'] = 'cache.backend.redis';
    $settings['redis.connection']['base'] = 8;

    In the line with the host parameter, replace example with the name of the hosting account where the site is hosted.

Content