• BDIX
    • BDIX Shared Hosting
    • BDIX Turbo Web Hosting
    • BDIX Reseller Hosting
  • Hosting
    • Singapore Web Hosting
    • WordPress Hosting
    • USA Shared Hosting
    • Business Email Hosting
    • Cheap Shared Hosting
    • Turbo Hosting
  • Reseller Hosting
    • Singapore Reseller Hosting
    • USA Reseller Hosting
  • VPS Hosting
    • Cheap BDIX VPS
    • BDIX Windows VPS
    • Cheap VPS
    • USA Survey RDP
    • USA VPS
    • Singapore VPS
    • Germany VPS
  • Domain
    • Register Domain
    • Transfer Domain
    • Domain Promos
Linkedin Twitter Youtube Facebook
  • support@prenhost.com
  • Hosting Flash Sale: Starting at $0.43/mo for a limited time
  • WhatsApp Support
  • Login
newph-transperent- newph-transperent-
  • BDIX
    • BDIX Shared Hosting
    • BDIX Turbo Web Hosting
    • BDIX Reseller Hosting
  • Hosting
    • Singapore Web Hosting
    • WordPress Hosting
    • USA Shared Hosting
    • Business Email Hosting
    • Cheap Shared Hosting
    • Turbo Hosting
  • Reseller Hosting
    • Singapore Reseller Hosting
    • USA Reseller Hosting
  • VPS Hosting
    • Cheap BDIX VPS
    • BDIX Windows VPS
    • Cheap VPS
    • USA Survey RDP
    • USA VPS
    • Singapore VPS
    • Germany VPS
  • Domain
    • Register Domain
    • Transfer Domain
    • Domain Promos
Client Area
Client Area

How to Enable Redis Object Cache for WordPress LiteSpeed Cache on AlmaLinux 8

by sajibe
May 13, 2026
cPanel, Linux, WHM

WordPress performance is critical, especially for WooCommerce stores with high traffic. One of the best ways to speed up your site is object caching using Redis. In this tutorial, we’ll show you how to enable Redis for LiteSpeed Cache on AlmaLinux 8 with PHP 8.2.


Step 1: Verify Redis is Running

First, make sure Redis is installed and running on your server:

systemctl status redis

You should see:

Active: active (running)

Test connectivity using the Redis CLI:

redis-cli -h 127.0.0.1 -p 6379 ping

Expected output:

PONG

✅ This confirms Redis is running locally.


Step 2: Check PHP Redis Extension

LiteSpeed Cache requires the PHP Redis extension. Check if it’s installed:

php -m | grep redis
  • If nothing shows up, install Redis for your PHP version. For PHP 8.2 with Remi repository, use:
dnf install php82-php-redis -y
  • Restart LSWS to load the extension:
systemctl restart lsws

Step 3: Configure LiteSpeed Cache

  1. Go to your WordPress admin → LiteSpeed Cache → Object
  2. Toggle Object Cache → ON
  3. Select Redis as the caching method
  4. Set the host to 127.0.0.1 and port 6379
  5. Click Test Connection

If Redis is correctly installed and running, you should see Connection Successful.


Step 4: Restart PHP Processes (If Needed)

Sometimes LiteSpeed Cache doesn’t detect Redis immediately. You can restart detached PHP processes from cPanel → PHP Processes → Restart Detached.

  • After this, revisit the Object Cache settings and test the connection again.
  • Redis should now be enabled and ready to accelerate your WordPress site.

Step 5: Enjoy Faster WooCommerce Performance

  • Redis stores frequently accessed objects in memory, reducing database queries.
  • WooCommerce pages load faster, checkout is smoother, and server load decreases.

💡 Tip: For best performance, combine Redis with LiteSpeed full-page caching and a CDN for global visitors.


Conclusion

By following these steps, you can enable Redis object caching on AlmaLinux 8 with PHP 8.2 and LiteSpeed Cache. This simple optimization significantly improves WordPress and WooCommerce performance, making your site faster and more scalable.

 

Tags: How to Enable Redis Object Cache for WordPress LiteSpeed Cache on AlmaLinux 8

Recent Posts

  • Improving WordPress Security by Blocking XML-RPC on Shared Hosting
  • How to Skip the WHM Initial Setup Wizard When Stuck After upcp
  • How to Enable Redis Object Cache for WordPress LiteSpeed Cache on AlmaLinux 8
  • Troubleshooting the “Retry Time Not Reached” Mail Error
  • Stabilizing Your CloudLinux Environment: How to Fix LSAPI Version Mismatches

Recent Comments

No comments to show.
Suite 10 Capital House, 61 Amhurst Road, London, E8 1LL, United Kingdom,

Company number 15697833

Payment Method
Company
  • About Us
  • News Feed
  • Affiliate Program
  • Knowledgebase
  • Client Area
  • Get in touch
Hosting
  • Singapore Hosting
  • BDIX Shared Hosting
  • WordPress Hosting
  • Cheap Hosting
  • USA Survey RDP
  • Cheap BDIX VPS
Software Hosting
  • OpenCart Hosting
  • Magento Hosting
  • LiteCart Hosting
  • PrestaShop Hosting
  • Moodle Hosting
  • POS Hosting
Join Our Newsletter

We’ll send you news and offers.

Social Media
Facebook-f Linkedin X-twitter Whatsapp

Copyright © 2018 - 2026 PrenHost. All Rights Reserved

Report Abuse/Spam | Terms of Services | Refund Policy | Privacy Policy | Server Status