php swoole hyperf,Uncaught Swoole\Error on execute php bin/hyperf.php start

php

PHP 7.3.6 (cli) (built: Jun 17 2019 08:40:34) ( NTS )

Copyright (c) 1997-2018 The PHP Group

Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies

with Zend OPcache v7.3.6, Copyright (c) 1999-2018, by Zend Technologies

swoole:

swoole

Swoole => enabled

Author => Swoole Team

Version => 4.4.0-beta

Built => Jun 20 2019 14:36:39

coroutine => enabled

kqueue => enabled

rwlock => enabled

http2 => enabled

pcre => enabled

zlib => enabled

brotli => enabled

async_redis => enabled

Directive => Local Value => Master Value

swoole.enable_coroutine => On => On

swoole.enable_library => On => On

swoole.enable_preemptive_scheduler => Off => Off

swoole.display_errors => On => On

swoole.use_shortname => On => On

swoole.unixsock_buffer_size => 262144 => 262144

Error detail:

Scanning ...

Scan completed.

[DEBUG] Event Hyperf\Framework\Event\BootApplication handled by Hyperf\Paginator\Listener\PageResolverListener listener.

[DEBUG] Event Hyperf\Framework\Event\BootApplication handled by Hyperf\Config\Listener\RegisterPropertyHandlerListener listener.

PHP Fatal error: Uncaught Swoole\Error: API must be called in the coroutine in /www/hyperf/vendor/symfony/console/Terminal.php:127

Stack trace:

#0 /www/hyperf/vendor/symfony/console/Terminal.php(127): proc_open('stty -a | grep ...', Array, NULL, NULL, NULL, Array)

#1 /www/hyperf/vendor/symfony/console/Terminal.php(70): Symfony\Component\Console\Terminal::getSttyColumns()

#2 /www/hyperf/vendor/symfony/console/Terminal.php(51): Symfony\Component\Console\Terminal::initDimensions()

#3 /www/hyperf/vendor/symfony/console/Application.php(116): Symfony\Component\Console\Terminal->getHeight()

#4 /www/hyperf/bin/hyperf.php(22): Symfony\Component\Console\Application->run()

#5 /www/hyperf/bin/hyperf.php(23): {closure}()

#6 {main}

thrown in /www/hyperf/vendor/symfony/console/Terminal.php on line 127

Fatal error: Uncaught Swoole\Error: API must be called in the coroutine in /www/hyperf/vendor/symfony/console/Terminal.php:127

Stack trace:

#0 /www/hyperf/vendor/symfony/console/Terminal.php(127): proc_open('stty -a | grep ...', Array, NULL, NULL, NULL, Array)

#1 /www/hyperf/vendor/symfony/console/Terminal.php(70): Symfony\Component\Console\Terminal::getSttyColumns()

#2 /www/hyperf/vendor/symfony/console/Terminal.php(51): Symfony\Component\Console\Terminal::initDimensions()

#3 /www/hyperf/vendor/symfony/console/Application.php(116): Symfony\Component\Console\Terminal->getHeight()

#4 /www/hyperf/bin/hyperf.php(22): Symfony\Component\Console\Application->run()

#5 /www/hyperf/bin/hyperf.php(23): {closure}()

#6 {main}

thrown in /www/hyperf/vendor/symfony/console/Terminal.php on line 127

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值