You flipped on Redis caching in the PrestaShop back office to squeeze out more performance, and now the storefront returns a blank white page or a raw HTTP 500. No admin, no front. Just a broken store and a nervous client.
This is one of the most common self-inflicted outages on PrestaShop 1.7 and 8.x. The good news: it's almost always a configuration mismatch, not corrupted data. Let's trace and fix it cleanly.
Quick Diagnostic Cheat-Sheet
| Symptom | Root Cause | Immediate Diagnostic Command |
|---|---|---|
| Blank white screen / HTTP 500 on front and admin | PHP cannot reach Redis (wrong host/port/socket) | redis-cli ping |
| 500 only after enabling cache in BO | _PS_CACHE_ENABLED_ set with bad params in parameters.php | tail -f ~/logs/error_log |
Class 'Redis' not found in logs | phpredis extension missing for active PHP version | php -m | grep redis |
| Intermittent 500 under load | Redis maxmemory hit, evictions failing | redis-cli info memory |
| Cache never populates, slow store | Redis auth password mismatch | redis-cli -a 'pass' ping |
Step-by-Step Resolution
1. Confirm the actual error, not the browser message
A generic 500 tells you nothing. Check the PHP error log directly in your account logs directory or via File Manager:
tail -n 50 ~/logs/error_log
Look for lines like these:
PHP Fatal error: Uncaught RedisException: Connection refused in /home/user/public_html/src/Adapter/Cache/RedisClientFactory.php:74
PHP Fatal error: Uncaught Error: Class "Redis" not found
2. Disable broken cache in parameters.php to restore access
Open app/config/parameters.php via File Manager or SSH and temporarily disable caching so both storefront and Back Office load again:
'ps_caching' => 'CacheMemcache',
'ps_cache_enable' => false,
Then clear the Symfony cache directory so PrestaShop rebuilds a clean container:
rm -rf var/cache/prod/* var/cache/dev/*
3. Verify the PHP Redis extension is enabled
In your DirectAdmin PHP Selector, confirm the redis extension is checked for your active PHP version (PHP 8.1 – 8.3), or verify over SSH:
php -m | grep -i redis
4. Verify Redis connectivity and credentials
Confirm the Redis daemon is listening on the exact host/port or Unix socket configured in PrestaShop:
redis-cli -h 127.0.0.1 -p 6379 ping
# Expected output: PONG
If your Redis instance requires a password or uses a custom socket path, enter those exact values before re-enabling caching in Advanced Parameters → Performance.
5. Prevent memory eviction crashes
Ensure Redis has enough memory headroom and uses allkeys-lru eviction on your Managed Cloud VPS so full cache buckets evict old keys gracefully instead of throwing write errors during checkout spikes.