Skip to content

Commit

Permalink
Remove --with-zlib-dir since it has been removed from PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Jul 10, 2024
1 parent 2600063 commit 14b07a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions php-84/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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 \
Expand Down

0 comments on commit 14b07a7

Please sign in to comment.