How to Enable Redis Object Cache in cPanel
Posted about 8 months ago 4.6kWhy Use Redis Cache
Speed boost: In-memory object caching for WordPress and other apps.
Check Redis Availability
cPanel → Software → Select PHP Version → Extensions → Look for 'redis'.
Install Redis Plugin
WordPress → Plugins → Search 'Redis Object Cache' by Till Krüss → Install & activate.
Configuration Steps
Add to wp-config.php
define('WP_REDIS_HOST', '127.0.0.1');
define('WP_REDIS_PORT', 6379);
define('WP_REDIS_DATABASE', 0);
Enable Object Cache
Plugin settings → Enable Object Cache → Flush if needed.
Verification Table
| Check | Expected Result |
|---|---|
| Plugin status | Connected (green) |
| Hit rate | > 80% after traffic |
| Memory usage | Within server limits |