Merge pull request #270 from mlocati/zstd

Add support for zstd
pull/276/head
Michele Locati 2021-01-25 18:15:00 +01:00 committed by GitHub
commit dfb411704e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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