How to Enable Redis Object Cache for WordPress (LiteSpeed)

Enabling Redis Object Cache can significantly boost your WordPress performance by caching database queries, which is handy for large or dynamic sites.

Before You Begin

  • Not always needed: If your site is already fast or lightly loaded, Redis may not improve performance and could potentially slow things down.
  • Only one plugin: Use only one caching plugin with Redis enabled to avoid conflicts.
  • Shared Hosting Caution: Make sure Redis instances are isolated in multi-user environments.
  • Database ID Rule: Use a unique Redis Database ID (0–7) per site when enabling Redis on multiple sites under the same cPanel account.

Step 1: Enable Redis in cPanel

  • Log in to your cPanel account.
  • Navigate to either:
  • Redis Object Cache, or LiteSpeed Redis Cache Manager
  • Under Redis Management, click Enable Redis Service.
  • Wait until you see: “Enabled Redis successful Created symlink

Redis is now active on your hosting account.

Step 2: Enable Redis PHP Extension

  • Go to: cPanel > Select PHP Version > Extensions
  • Find and check the redis extension.
  • Wait 15–40 seconds for the change to apply.
  • Refresh the page to confirm it's enabled.

Redis PHP extension is now active.

Step 3: Configure Redis in WordPress (via LiteSpeed Cache)

  • Install the LiteSpeed Cache plugin in WordPress.
  • In WP Admin, go to: LiteSpeed Cache > Cache > Object
  • Ensure: Redis Extension shows as Enabled
  • If not, double-check Steps 1 & 2
  • Set the following:
  • Object Cache: ON
  • Method: Redis
  • Host: /tmp/redis.sock
  • Port: 0
  • Redis Database ID:
  • Use 0 for your first site
  • Use a different number (1–7) for each additional site under the same cPanel account.
  • Click Save Changes.
  • Look for the message: Connection Test: Passed.

Redis Object Cache is now successfully enabled in WordPress!

Final Notes

  • DO NOT enable Redis in more than one plugin.
  • You can use up to 8 Redis databases (IDs 0–7) per cPanel account.
  • LiteSpeed Cache alone offers excellent performance—enable Redis only if needed.
  • 0 Users Found This Useful
  • redis, redis cache, object cache, redis object cache
Was this answer helpful?

Related Articles

How to Clear Your DNS Cache

Overview Your DNS cache stores the locations (IP addresses) of web servers that contain web...

How to Modify Your Hosts File - Preview website or domain name

There is an article that covers this at...

Difference Between FTP, FTPS, and SFTP on cPanel

cPanel supports different file transfer protocols, including FTP, FTPS, and SFTP, which differ in...

Why Does SFTP Not Work on Additional FTP Accounts in cPanel?

SFTP does not work on additional FTP accounts in cPanel because: SFTP is not FTP — it's...