ThinkPHP 5.1 配置缓存的坑

CentOS 7 +PHP 7.2.15 + TP Version 5.1

使用文档中提供的【生成配置缓存文件】即在runtime目录下生成ini.php文件

报错信息如下,只能。。。删除此文件,然后重启了!

PHP Fatal error:  Uncaught Error: Call to undefined method Closure::__set_state() in /data/morseapp-bi/api/runtime/init.php:348
Stack trace:
0 /data/morseapp-bi/api/thinkphp/library/think/App.php(278): include()
1 /data/morseapp-bi/api/thinkphp/library/think/App.php(211): think\App->init()
2 /data/morseapp-bi/api/vendor/topthink/think-swoole/src/Http.php(171): think\App->initialize()
3 {main}
thrown in /data/morseapp-bi/api/runtime/init.php on line 348
PHP Fatal error: Uncaught Error: Call to undefined method Closure::__set_state() in /data/morseapp-bi/api/runtime/init.php:348
Stack trace:
0 /data/morseapp-bi/api/thinkphp/library/think/App.php(278): include()
1 /data/morseapp-bi/api/thinkphp/library/think/App.php(211): think\App->init()
2 /data/morseapp-bi/api/vendor/topthink/think-swoole/src/Http.php(171): think\App->initialize()
3 {main}
thrown in /data/morseapp-bi/api/runtime/init.php on line 348
PHP Fatal error: Uncaught Error: Call to undefined method Closure::__set_state() in /data/morseapp-bi/api/runtime/init.php:348