Short answer: Navigate to LiteSpeed Cache > Cache > Object tab, toggle Object Cache ON, select method Redis, set Host to 127.0.0.1 and Port to 6379, and test connection.
Boost WooCommerce and database performance by storing complex MySQL queries in lightning-fast Redis RAM cache.
Before you start: Back up your site files and database and download the backup to your own computer. How to take a full backup
Quick reference
| Host | 127.0.0.1 (localhost) |
|---|---|
| Port | 6379 |
| Method | Redis |
| PHP Extension Required | redis (enabled in cPanel Select PHP Version) |
Steps
- Enable PHP Redis Extension: In cPanel, go to Software > Select PHP Version > Extensions, find
redis, and check the box. - Configure in WordPress:
- In your WordPress dashboard, go to LiteSpeed Cache > Cache > Object tab.
- Toggle Object Cache to ON.
- Method: Select
Redis. - Host: Enter
127.0.0.1. - Port: Enter
6379. - Click Save Changes.
- Verify Connection: The status line will immediately update to green: Connection Test: Passed.
Troubleshooting and tips
- Status: Failed / Not Available: Ensure the
redisPHP extension was activated in cPanel PHP Selector for your active PHP version.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket