You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
When using the Redis cache adapter it is not possible to use the setLibOptions function in the config. For example:
use Zend\Cache\Storage\Adapter\RedisOptions;
use Zend\Cache\Storage\Adapter\Redis;
$redis_options = new RedisOptions();
$redis_options->setLibOptions(array(
\Redis::OPT_SERIALIZER => \Redis::SERIALIZER_PHP
));
$redis_cache = new Redis($redis_options);
As soon as you attempt to use the cache you'll get:
Fatal error: Uncaught exception 'RedisException' with message 'Redis server went away' in /mnt/project/vendor/zendframework/zendframework/library/Zend/Cache/Storage/Adapter/RedisResourceManager.php on line 70
This is because you can't call setOption until you've connected to the Redis server.
The text was updated successfully, but these errors were encountered:
When using the Redis cache adapter it is not possible to use the setLibOptions function in the config. For example:
As soon as you attempt to use the cache you'll get:
This is because you can't call setOption until you've connected to the Redis server.
The text was updated successfully, but these errors were encountered: