Please note, that Redis is only available on our cPanel plans
The first thing to do is to navigate to Redis in cPanel:
Once within the Redis tool enable it for your account:
Once enabled copy the Redis socket path as we will need this later! You can always come back to this screen if you need to view this again.
Now we need to enable the Redis extension, this is enabled under cPanel -> Select PHP Version -> Extensions -> Redis
Once enabled we can log in to WordPress and access the LiteSpeed Cache.
Under Cache -> Object we can find the settings for enabling Redis:
The settings we need to enable here are:
- Change Object Cache from Off to On
- Switch Method to Redis
- Set the Host to be the socket path noted down earlier
- Change port to 0
Once done hit save and the Redis cache should be ready to go!