From f0a2b3f97d853d71e272e97fbf491ffa5fb4497e Mon Sep 17 00:00:00 2001 From: Patrick Dawkins Date: Thu, 26 Oct 2023 16:56:17 +0100 Subject: [PATCH] Enable zlib for PHP --- build-php-brew.sh | 1 + ext/extensions.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build-php-brew.sh b/build-php-brew.sh index c93edb7..4f71e03 100644 --- a/build-php-brew.sh +++ b/build-php-brew.sh @@ -36,6 +36,7 @@ rm -f sapi/cli/php --with-openssl \ --with-pear=no \ --without-pcre-jit \ + --with-zlib \ --disable-all \ OPENSSL_CFLAGS="-I$SSL_DIR_PATH/include" \ OPENSSL_LIBS="-L$SSL_DIR_PATH/lib -lssl -lcrypto" diff --git a/ext/extensions.txt b/ext/extensions.txt index 072f836..691b457 100755 --- a/ext/extensions.txt +++ b/ext/extensions.txt @@ -40,5 +40,5 @@ posix ^xml ^xmlreader ^xmlwriter -^zlib +zlib ^zip