when following the information for enabling Redis in Craft 3, my site just refreshes to a blank screen with a "Internal server error" generic message. Reviewing the server logs reveals:
ReflectionException: Class yii\redis\Cache does not exist in /storage/path/www/staging_html/vendor/yiisoft/yii2/di/Container.php:428
Talking with my hosting provider (Arcustech), informs me that Redis is indeed running and php-redis is installed. The details I entered into
return [ 'components' => [ 'cache' => [ 'class' => yii\redis\Cache::class, 'defaultDuration' => 86400, 'redis' => [ 'hostname' => 'localhost', 'port' => 6379, 'database' => 0, ], ], ], ];
Any light that could be shone onto my predicament would be amazing. thanks!