From 14b07a77d3c5c5c8e87eba8889e99f9c618acacc Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Wed, 10 Jul 2024 14:48:28 +0200 Subject: [PATCH] Remove `--with-zlib-dir` since it has been removed from PHP 8.4 --- php-84/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/php-84/Dockerfile b/php-84/Dockerfile index 81bb8807..7b980874 100644 --- a/php-84/Dockerfile +++ b/php-84/Dockerfile @@ -415,7 +415,6 @@ RUN curl --location --silent --show-error --fail https://downloads.php.net/~saki # --enable-option-checking=fatal: make sure invalid --configure-flags are fatal errors instead of just warnings # --enable-ftp: because ftp_ssl_connect() needs ftp to be compiled statically (see https://github.com/docker-library/php/issues/236) # --enable-mbstring: because otherwise there's no way to get pecl to use it properly (see https://github.com/docker-library/php/issues/195) -# --with-zlib and --with-zlib-dir: See https://stackoverflow.com/a/42978649/245552 ARG PHP_COMPILATION_FLAGS RUN ./buildconf --force RUN CFLAGS="-fstack-protector-strong -fpic -fpie -O3 -I${INSTALL_DIR}/include -I/usr/include -ffunction-sections -fdata-sections" \ @@ -434,8 +433,7 @@ RUN CFLAGS="-fstack-protector-strong -fpic -fpie -O3 -I${INSTALL_DIR}/include -I --with-sodium \ --with-readline \ --with-openssl \ - # --with-zlib \ - # --with-zlib-dir \ + --with-zlib \ --with-curl \ --enable-exif \ --enable-ftp \