From 21bddabc5afa02f90e539def813b57bc4f683ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B6=9B?= Date: Mon, 19 Jul 2021 01:55:01 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE=E4=BA=8B?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/info.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/info.md diff --git a/doc/info.md b/doc/info.md new file mode 100644 index 0000000..91202a7 --- /dev/null +++ b/doc/info.md @@ -0,0 +1,25 @@ +# + +## 配置例子 +``` +'192.168.0.231', + 'REDIS_PORT'=>'6379', + 'REDIS_PASSWORD'=>'rds_PWD', + 'REDIS_DATABASE'=>'10', + /** + * SESSION 设置 配置到redis + */ + 'SESSION_AUTO_START' => true, // 是否自动开启Session + 'SESSION_OPTIONS' => array("path" => "tcp://sdfsd.cache.host:6379?database=10&auth=sdfsdfsdf", "type" => "redis"), // session 配置数组 支持type name id path expire domain 等参数 + 'SESSION_TYPE' => 'redis', // session hander类型 默认无需设置 除非扩展了session hander驱动 + 'SESSION_PREFIX' => 'sdfsdfsdf', // session 前缀 + +> +``` \ No newline at end of file -- Gitee