- Redis is currently enabled on Turbo shared, Turbo reseller, Managed VPS, and Managed Dedicated server accounts.
- If you have an unmanaged VPS, you have full root access and can install and configure Redis yourself.
- Redis is not supported on non-Turbo shared hosting accounts at this time.
Enabling Redis for Magento 2
To enable Redis for Magento 2, follow these steps:- Log in to your account using SSH.
-
At the command prompt, change to the directory where you installed Magento (for example, type
cd ~/public_html). - Type the appropriate commands for your hosting account:
- If you have a Managed VPS or Dedicated server, type the following commands:
- If you have a Turbo shared or reseller account, type the following commands. Replace username with your account username:
When you run the last command, you may be prompted to overwrite the existing configuration for
session-save . If this occurs, type
y and then press Enter.
session-save . If this occurs, type
y and then press Enter.
- Redis is now enabled for Magento.
More information
- For more information about Redis, please visit https://redis.io.
- To view the official Magento documentation, please visit https://docs.magento.com.