出现问题:
:(
session_start(): Failed to initialize storage module: user (path: D:\phpStudy\PHPTutorial\tmp\tmp)
错误位置
FILE: D:\www\other\crm\Core\ThinkPHP\Common\functions.php LINE: 1265
ThinkPHP3.2.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]
Fatal error: Uncaught Error: Call to a member function close() on null in D:\www\other\crm\Core\ThinkPHP\Library\Think\Session\Driver\Redis.class.php:62 Stack trace: #0 [internal function]: Think\Session\Driver\Redis->close() #1 {main} thrown in D:\www\other\crm\Core\ThinkPHP\Library\Think\Session\Driver\Redis.class.php on line 621.session_type='redis'
查看 Redis.class.php
断点后找到问题:
需安装redis 扩展
1.安装教程:window Apcache 增加redis扩展
2. 断点查看redis配置