From 9f7df4c291c2f55f9bdf1a7745e7136d830ca3da Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Wed, 21 Oct 2026 14:17:30 +0200 Subject: [PATCH] Fix PHP source download URL (same fix as main, PR #343) --- php-80/Dockerfile | 2 +- php-81/Dockerfile | 2 +- php-82/Dockerfile | 2 +- php-83/Dockerfile | 2 +- php-84/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/php-80/Dockerfile b/php-80/Dockerfile index 4c9806c6..b12b5f45 100644 --- a/php-80/Dockerfile +++ b/php-80/Dockerfile @@ -401,7 +401,7 @@ WORKDIR ${PHP_BUILD_DIR} # --silent will hide the progress, but also the errors: we restore error messages with --show-error # --fail makes sure that curl returns an error instead of fetching the 404 page ARG VERSION_PHP -RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build diff --git a/php-81/Dockerfile b/php-81/Dockerfile index f35e93d6..a9e7fe1a 100644 --- a/php-81/Dockerfile +++ b/php-81/Dockerfile @@ -423,7 +423,7 @@ WORKDIR ${PHP_BUILD_DIR} # --silent will hide the progress, but also the errors: we restore error messages with --show-error # --fail makes sure that curl returns an error instead of fetching the 404 page ARG VERSION_PHP -RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build diff --git a/php-82/Dockerfile b/php-82/Dockerfile index 9e4d761f..bf675b6e 100644 --- a/php-82/Dockerfile +++ b/php-82/Dockerfile @@ -423,7 +423,7 @@ WORKDIR ${PHP_BUILD_DIR} # --silent will hide the progress, but also the errors: we restore error messages with --show-error # --fail makes sure that curl returns an error instead of fetching the 404 page ARG VERSION_PHP -RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build diff --git a/php-83/Dockerfile b/php-83/Dockerfile index bc22a242..baebde75 100644 --- a/php-83/Dockerfile +++ b/php-83/Dockerfile @@ -423,7 +423,7 @@ WORKDIR ${PHP_BUILD_DIR} # --silent will hide the progress, but also the errors: we restore error messages with --show-error # --fail makes sure that curl returns an error instead of fetching the 404 page ARG VERSION_PHP -RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build diff --git a/php-84/Dockerfile b/php-84/Dockerfile index ad125415..899b84e1 100644 --- a/php-84/Dockerfile +++ b/php-84/Dockerfile @@ -426,7 +426,7 @@ WORKDIR ${PHP_BUILD_DIR} # --silent will hide the progress, but also the errors: we restore error messages with --show-error # --fail makes sure that curl returns an error instead of fetching the 404 page ARG VERSION_PHP -RUN curl --location --silent --show-error --fail https://www.php.net/get/php-${VERSION_PHP}.tar.gz/from/this/mirror \ +RUN curl --location --silent --show-error --fail https://www.php.net/distributions/php-${VERSION_PHP}.tar.gz \ | tar xzC . --strip-components=1 # Configure the build