apache_conf Redis on platform.sh - config.yml
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf Redis on platform.sh - config.yml相关的知识,希望对你有一定的参考价值。
# app/config/config.yml
# Doctrine Configuration
doctrine:
...
orm:
...
metadata_cache_driver: redis
query_cache_driver: redis
result_cache_driver: redis
# Redis
snc_redis:
clients:
default:
type: phpredis
alias: default
dsn: %redis_host%
session:
type: phpredis
alias: session
dsn: %redis_host%
doctrine:
type: phpredis
alias: doctrine
dsn: %redis_host%
session:
client: session
prefix: foo
doctrine:
metadata_cache:
client: doctrine
entity_manager: default # the name of your entity_manager connection
document_manager: default # the name of your document_manager connection
result_cache:
client: doctrine
entity_manager: [default, read] # you may specify multiple entity_managers
query_cache:
client: doctrine
entity_manager: default
second_level_cache:
client: doctrine
entity_manager: default
以上是关于apache_conf Redis on platform.sh - config.yml的主要内容,如果未能解决你的问题,请参考以下文章
apache_conf 配置redis会话#magento(local.xml)
apache_conf 强大的.htaccess片段,需要在最顶层使用RewriteEngine On
apache_conf Wordpress缓存使用redis(eric mann方法)
apache_conf CircleCI 2.0 w / Ruby + RSpec,MySQL,Redis,ElasticSearch
apache_conf 在krakenjs 1.0中使用connect-redis - https://github.com/krakenjs/kraken-js/issues/225
ERROR_ALREADY_REQUESTING_PERMISSIONS 颤动