From e6ec222430e429c311c1cc2aaaddcc4a59d53c34 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 23 Jan 2021 16:39:58 +0100 Subject: [PATCH] Add support for zstd --- data/supported-extensions | 1 + install-php-extensions | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 77a82f9..4bee9db 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -93,3 +93,4 @@ yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 yar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 zip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 zookeeper 5.5 5.6 7.0 7.1 7.2 7.3 7.4 +zstd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 diff --git a/install-php-extensions b/install-php-extensions index 25afde5..6d40460 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2164,7 +2164,7 @@ configureInstaller() { if ! stringInList 'zip' "$PHP_PREINSTALLED_MODULES"; then PHP_MODULES_TO_INSTALL="zip $(removeStringFromList 'zip' "$PHP_MODULES_TO_INSTALL")" fi - if anyStringInList 'swoole xdebug xhprof pdo_sqlsrv sqlsrv igbinary seaslog' "$PHP_MODULES_TO_INSTALL"; then + if anyStringInList 'swoole xdebug xhprof pdo_sqlsrv sqlsrv igbinary seaslog zstd' "$PHP_MODULES_TO_INSTALL"; then USE_PICKLE=2 else curl -sSLf https://github.com/FriendsOfPHP/pickle/releases/latest/download/pickle.phar -o /tmp/pickle