mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
explicitly enable swoole-mysql too
This commit is contained in:
parent
8104ff7236
commit
7e0e9091be
@ -63,6 +63,9 @@ class swoole extends Extension
|
|||||||
// so this is a tricky way (enable ext [pgsql,pdo] to add postgresql hook and pdo_pgsql support)
|
// so this is a tricky way (enable ext [pgsql,pdo] to add postgresql hook and pdo_pgsql support)
|
||||||
$arg .= $this->builder->getExt('swoole-hook-pgsql') ? ' --enable-swoole-pgsql' : ' --disable-swoole-pgsql';
|
$arg .= $this->builder->getExt('swoole-hook-pgsql') ? ' --enable-swoole-pgsql' : ' --disable-swoole-pgsql';
|
||||||
|
|
||||||
|
// additional feature: swoole-mysql
|
||||||
|
$arg .= $this->builder->getExt('swoole-hook-mysql') ? ' --enable-swoole-mysql' : ' --disable-swoole-mysql';
|
||||||
|
|
||||||
// enable this feature , need remove pdo_sqlite
|
// enable this feature , need remove pdo_sqlite
|
||||||
// more info : https://wenda.swoole.com/detail/109023
|
// more info : https://wenda.swoole.com/detail/109023
|
||||||
$arg .= $this->builder->getExt('swoole-hook-sqlite') ? ' --enable-swoole-sqlite' : ' --disable-swoole-sqlite';
|
$arg .= $this->builder->getExt('swoole-hook-sqlite') ? ' --enable-swoole-sqlite' : ' --disable-swoole-sqlite';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user