草庐IT

cachedResources

全部标签

php - 使用 Redis 设置 Symfony 3.1 缓存组件

我尝试使用Redis设置Symfony3.1缓存。我遵循本教程:https://symfony.com/blog/new-in-symfony-3-1-cache-component我已经安装了predis/predis和SncRedisBundle。在我的config.yml中我放了framework:cache:app:cache.adapter.redisdefault_redis_provider:redis://192.168.34.10snc_redis:clients:default:type:predisalias:defaultdsn:redis://192.168.

php - 使用 Redis 设置 Symfony 3.1 缓存组件

我尝试使用Redis设置Symfony3.1缓存。我遵循本教程:https://symfony.com/blog/new-in-symfony-3-1-cache-component我已经安装了predis/predis和SncRedisBundle。在我的config.yml中我放了framework:cache:app:cache.adapter.redisdefault_redis_provider:redis://192.168.34.10snc_redis:clients:default:type:predisalias:defaultdsn:redis://192.168.