From 10bc5d5e5a6b2e1a5a682c2a7f074cc3e4352ab2 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 5 Dec 2021 12:41:29 +0100 Subject: [PATCH] Enable postgres support for openswoole (#468) --- install-php-extensions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index 4520d3e..b83d7f4 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2356,6 +2356,10 @@ installRemoteModule() { addConfigureOption enable-swoole-json yes # enable curl support? addConfigureOption enable-swoole-curl yes + if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '4.8.0') -ge 0; then + # enable postgres support? + addConfigureOption with-postgres yes + fi ;; parallel) if test -z "$installRemoteModule_version"; then