Skip to content

Commit 1b8b53d

Browse files
committed
update swoole args for 6.2
1 parent a232f57 commit 1b8b53d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/SPC/builder/extension/swoole.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ public function getUnixConfigureArg(bool $shared = false): string
5050

5151
// commonly used feature: coroutine-time
5252
$arg .= ' --enable-swoole-coro-time --with-pic';
53+
$arg .= ' --enable-swoole-ftp --enable-swoole-ssh';
5354

5455
$arg .= $this->builder->getOption('enable-zts') ? ' --enable-swoole-thread --disable-thread-context' : ' --disable-swoole-thread --enable-thread-context';
5556

5657
// required features: curl, openssl (but curl hook is buggy for php 8.0)
5758
$arg .= $this->builder->getPHPVersionID() >= 80100 ? ' --enable-swoole-curl' : ' --disable-swoole-curl';
58-
$arg .= ' --enable-openssl';
5959

6060
// additional features that only require libraries
6161
$arg .= $this->builder->getLib('libcares') ? ' --enable-cares' : '';
6262
$arg .= $this->builder->getLib('brotli') ? (' --enable-brotli --with-brotli-dir=' . BUILD_ROOT_PATH) : '';
6363
$arg .= $this->builder->getLib('nghttp2') ? (' --with-nghttp2-dir=' . BUILD_ROOT_PATH) : '';
6464
$arg .= $this->builder->getLib('zstd') ? ' --enable-zstd' : '';
65-
$arg .= $this->builder->getLib('liburing') ? ' --enable-iouring' : '';
65+
$arg .= $this->builder->getLib('liburing') ? ' --enable-iouring --enable-uring-socket' : '';
6666
$arg .= $this->builder->getExt('sockets') ? ' --enable-sockets' : '';
6767

6868
// enable additional features that require the pdo extension, but conflict with pdo_* extensions

0 commit comments

Comments
 (0)