本帖最后由 cndo.org 于 2017-9-3 05:30 编辑
centos7.3 php7.1 ci3框架 采用redis缓存 失败 怎么要怎么写? 怎么解决 切换回files 就正常.
$config['sess_driver'] = 'redis';
$config['sess_save_path'] = tcp://10.99.0.2:6379?auth=123456789;
redis 是远程的 本机是否需要安装redis,
按面板说明操作了. 命令测试正常
[root@65 src]# ./redis-cli
127.0.0.1:6379> info
# Server
redis_version:3.2.5
但是phpinfo 没有 redis模块信息.
下面是错误提示:
Parse error: syntax error, unexpected ':' in /www/wwwroot/www.abc.com/config/config.php on line 36
Fatal error: Exception thrown without a stack frame in Unknown on line 0
Parse error: syntax error, unexpected ':' in /www/wwwroot/www.abc.com/config/config.php on line 36
Fatal error: Exception thrown without a stack frame in Unknown on line 0
|
|