Fix swoole compile bug on Linux (#367)

* swoole ci test

* swoole ci test

* fix swoole (disable-thread-context)

* restore pgsql ver

* bump version to 2.1.4
This commit is contained in:
Jerry Ma
2024-03-04 15:31:39 +08:00
committed by GitHub
parent 96dd5ba87b
commit 8e58592a6e
3 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ use Symfony\Component\Console\Command\ListCommand;
*/
final class ConsoleApplication extends Application
{
public const VERSION = '2.1.3';
public const VERSION = '2.1.4';
public function __construct()
{

View File

@@ -15,8 +15,8 @@ class swoole extends Extension
// enable swoole
$arg = '--enable-swoole';
// commonly-used feature: coroutine-time, thread-context
$arg .= ' --enable-swoole-coro-time --enable-thread-context';
// commonly-used feature: coroutine-time, disable-thread-context
$arg .= ' --enable-swoole-coro-time --disable-thread-context';
// required feature: curl, openssl (but curl hook is buggy for php 8.0)
$arg .= $this->builder->getPHPVersionID() >= 80100 ? ' --enable-swoole-curl' : ' --disable-swoole-curl';