<?php
return [
'default_return_type'=>'json',
// 应用Trace
'app_trace' => true,
'trace' => [
'type' => 'socket',
// socket服务器
'host' => 'localhost',
],
];
当app_trace设置为false时,程序正常,当改为true时,出现下面的错误(页面ti
Fatal error: Uncaught exception 'think\exception\ClassNotFoundException' with message 'class not exists:\think\debug\Socket' in /Applications/XAMPP/xamppfiles/htdocs/tp505/thinkphp/library/think/Debug.php:194 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/tp505/thinkphp/library/think/Response.php(98): think\Debug::inject(ob
最佳答案