全新安装后,启动 php think swoole 就出错

浏览:242 发布日期:2022/06/17 分类:ThinkPHP6专区 关键字: swoole
PHP Fatal error:  Uncaught Swoole\Error: API must be called in the coroutine in /www/wwwroot/aa.sw.com/vendor/topthink/framework/src/think/console/output/driver/Console.php:203
Stack trace:
#0 /www/wwwroot/aa.sw.com/vendor/topthink/framework/src/think/console/output/driver/Console.php(203): proc_open()
#1 /www/wwwroot/aa.sw.com/vendor/topthink/framework/src/think/console/output/driver/Console.php(180): think\console\output\driver\Console->getSttyColumns()
#2 /www/wwwroot/aa.sw.com/vendor/topthink/framework/src/think/console/output/driver/Console.php(145): think\console\output\driver\Console->getTerminalDimensions()
#3 /www/wwwroot/aa.sw.com/vendor/topthink/framework/src/think/console/output/driver/Console.php(82): think\console\output\driver\Console->getTerminalWidth()
#4 /www/wwwroot/aa.sw.com/vendor/topthink/framework/src/think/console/Output.php(167): think\console\output\driver\Console->renderException()
#5 /www/wwwroot/aa.sw.com/vendor/topthink/framework/src/think/exception/Handle.php(126): thi in /www/wwwroot/aa.sw.com/vendor/topthink/framework/src/think/console/output/driver/Console.php on line 203
这个proc_open()已经取消禁用了啊
最佳答案
评论( 相关
后面还有条评论,点击查看>>