|
- $config['sess_driver'] = 'redis';
- $config['sess_save_path'] = 'localhost:11211';
- $config['sess_save_path'] = 'tcp://127.0.0.1:6379';
复制代码
配置后运行日志有大量如下错误:
- ERROR - 2018-01-26 13:12:10 --> Session: Error while trying to obtain lock for ci_session:8gjd1nduds8ablv48m2m2ceeujlbp3je
- ERROR - 2018-01-26 13:12:10 --> Severity: Warning --> Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (tcp://127.0.0.1:6379) Unknown 0
复制代码
修改配置为memcached后也有类似提示,有没有人知道什么原因?
我运行环境是Centos7+nginx+php5.6,redis和memcached都是新的!CI3.1.6
|
|