Class 'Redis' not found

Hey guys,

Not sure if this is Grav related or something I missed when installing Redis. The error points me here:

grav/system/src/Grav/Common/Cache.php

case ‘redis’:
$redis = new \Redis();
$redis->connect($this->config->get(‘system.cache.redis.server’, ‘localhost’),
$this->config->get(‘system.cache.redis.port’, 6379));

            $driver = new DoctrineCache\RedisCache();
            $driver->setRedis($redis);
            break;

user/config/system.yaml

cache:
cache:
enabled: true
check:
method: file
driver: redis
redis:
server: 127.0.0.1
port: 6379
prefix: g
lifetime: 604800
gzip: false

I’m using OSX 10.10.5 and PHP 5.5.32 (cli) (built: Feb 5 2016 13:58:47)

Any help is appreciated!

No direct experience on this part of Grav but if you enable Redis cache I guess you also need the https://github.com/phpredis/phpredis PHP extension being installed, so it’s available.