报如下错误:
PHP Fatal error:  Uncaught think\exception\ErrorException: Unknown: open(D:\tmp\sess_k7agbeuguiu5ske8bhfvghc644, O_RDWR) failed: No such file or directory (2) in Unknown:0

Stack trace:

#0 [internal function]: think\Error::appError(2, 'Unknown: open(D...', 'Unknown', 0, NULL)

#1 {main}

  thrown in Unknown on line 0

解决方案:
方案一:
打开php.ini搜索session ,找到 session.save_path 把路径设为 "./",并重启