From 210b83477cc594e5d99688c1e9b00e10c9e75c31 Mon Sep 17 00:00:00 2001 From: Patrick Dawkins Date: Fri, 4 Aug 2023 11:02:17 +0200 Subject: [PATCH 1/2] Update to PHP 8.2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 121b665..24695de 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PHP_VERSION = 8.0.30 +PHP_VERSION = 8.2.11 LEGACY_CLI_VERSION = 4.10.3 GORELEASER_ID ?= platform From f0a2b3f97d853d71e272e97fbf491ffa5fb4497e Mon Sep 17 00:00:00 2001 From: Patrick Dawkins Date: Thu, 26 Oct 2023 16:56:17 +0100 Subject: [PATCH 2/2] 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