How do I enable Redis on my Premium PCI-DSS compliant hosting account?

What is Redis?

Redis (Remote Dictionary Server) is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.

It supports data structures such as strings, hashes, lists, sets, range queries, bitmaps, hyper loglogs and geospatial indexes with radius queries.

In its simplest form, Redis is a caching system that can be combined with MySQL or MariaDB to optimize the application level speed.

Why should I use Redis?

Redis runs as UNIX socket, which is significantly faster, as no TCP connection is required to connect to it, when Redis object caching is enable you will generally find a noticeable increase in speed compared to Memcached.

LVE limits

Your Redis instance will run within LVE - This means that Redis will be using your cPanel resources and depending on the size of the site and the type of traffic Redis may increase your overall resource usage.

Does my package support Redis?

Before we enable Redis, we will have to ensure that your hosting package supports Redis. Redis is only supported on our Premium PCI-DSS compliant hosting packages (Sapphire, Diamond & Tanzanite).

You can view your plan type from within your Krystal Client area (Link opens in a new tab) > My Services and you will find a list of your accounts with the package type listed under the Product / Service header:

Provided your package type is either Sapphire, Diamond or Tanzanite, you will be able to enable Redis, otherwise you will need to either:

Order a new plan:

This can be done via your Krystal Client area (Link opens in a new tab) > Services > Order a new service.

Or

How do I enable Redis?

In order to follow this guide, you will need to be able to access your cPanel account (Link opens in a new tab).

Once you are sure your package supports Redis, you are ready to enable it via your cPanel account.

  1. Login to your cPanel account
  2. Navigate to the Advanced section and click Redis Manager

  1. Click the link below your Redis status to create your Redis instance.
  1. Navigate to the Software section and click Select PHP Version

  1. Under the PHP Extensions header check the box marked Redis

Please note: Redis is not yet supported on PHP v8.1. Please ensure that you use PHP v8.0 or lower if you intend on enabling Redis.
  1. Congratulations! You have enabled Redis on your cPanel hosting account. From here you may wish to configure your Litespeed Cache plugin to use Redis (Link opens in a new tab)

How do I restart the Redis instance?

You may encounter a situation where you will have to restart your Redis instance. This is done quickly and easily via your cPanel account.

  1. Login to your cPanel account
  2. Navigate to the Advanced section and click Redis Manager

  1. Click "Restart Redis Instance"

  1. Done!

How do I disables the Redis Instance?

While the option is available to disable your Redis instance, this in most cases is not necessary even if the instance is not being used as the resource usage will be minimal.
  1. Login to your cPanel account
  2. Navigate to the Advanced section and click Redis Manager

  1. Click "Disable Redis Instance"
  1. Done!


How did we do?


Powered by HelpDocs (opens in a new tab)
© Krystal Hosting Ltd 2003–