Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
2.14.5.7. Configure Redis in Drupal
See more in Redis.
- 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.
- Open the admin panel of the site.
- Go to the "Extend" section.
- Click "Install new module".
- Paste the copied link into the "Install from a URL" field.
- Click "Install".
- Wait for the installation to complete.
- In the "Extensions" section ("Extend"), select "Redis" from the list of extensions and click "Install" at the bottom of the page.
- 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
hostparameter, replaceexamplewith the name of the hosting account where the site is hosted.