To enable support Redis in Drupal, do this:
Copy the link to the archive with the appropriate version of the Redis module below
of this page.
Select the appropriate module for your Drupal version installed.
Open the site admin panel.
Go to the section "Extensions» («Extend»).
Click "Install new module» («Install new module»).
Paste the copied link into the “
Install with URL-addresses» («
Install from a URL»).
Click "Install» («Install»).
Wait for the installation to complete.
In section "Extensions» («Extend") Find" Redis "in the list, check the box next to it and at the bottom of the page click"Install» («Install»).
At the end of the file
sites/default/settings.php
add code like this:
$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 parameter host
instead example
indicate hosting account namein which the site is hosted.