diff --git a/src/Commands/HttpServerCommand.php b/src/Commands/HttpServerCommand.php index ff074a5..7412727 100644 --- a/src/Commands/HttpServerCommand.php +++ b/src/Commands/HttpServerCommand.php @@ -370,7 +370,7 @@ protected function checkEnvironment() exit(1); } - if (! extension_loaded('swoole')) { + if (! extension_loaded('swoole') && ! extension_loaded('openswoole')) { $this->error('Can\'t detect Swoole extension installed.'); exit(1);