默认是文件存储
修改php.ini的设置
session.save_handler = redis session.save_path = “tcp://127.0.0.1:6379″
如果Redis设置了密码
session.save_path = “tcp://127.0.0.1:6379auth=authpwd"
配置后重启php-fpm