From 4c8fca02617fb90ca6ba092ef9868a0ff879dc66 Mon Sep 17 00:00:00 2001 From: Paolo Cuffiani Date: Wed, 21 Oct 2026 18:07:08 +0200 Subject: [PATCH] download PHP 5.6 sources from php.net distributions secure.php.net/get/... now returns 404, and its TLS setup is rejected by Stretch's GnuTLS (alert 70: protocol version). --- compat/Dockerfile.5.6 | 2 +- compat/Dockerfile.5.6-apache | 2 +- compat/Dockerfile.5.6-fpm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compat/Dockerfile.5.6 b/compat/Dockerfile.5.6 index 6338d40..975eb76 100644 --- a/compat/Dockerfile.5.6 +++ b/compat/Dockerfile.5.6 @@ -62,7 +62,7 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie" ENV GPG_KEYS 0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 ENV PHP_VERSION 5.6.40 -ENV PHP_URL="https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror" +ENV PHP_URL="https://www.php.net/distributions/php-5.6.40.tar.xz" PHP_ASC_URL="https://www.php.net/distributions/php-5.6.40.tar.xz.asc" ENV PHP_SHA256="1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c" PHP_MD5="" RUN set -xe; \ diff --git a/compat/Dockerfile.5.6-apache b/compat/Dockerfile.5.6-apache index 365fb8f..adc9a7d 100644 --- a/compat/Dockerfile.5.6-apache +++ b/compat/Dockerfile.5.6-apache @@ -122,7 +122,7 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie" ENV GPG_KEYS 0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 ENV PHP_VERSION 5.6.40 -ENV PHP_URL="https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror" +ENV PHP_URL="https://www.php.net/distributions/php-5.6.40.tar.xz" PHP_ASC_URL="https://www.php.net/distributions/php-5.6.40.tar.xz.asc" ENV PHP_SHA256="1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c" PHP_MD5="" RUN set -xe; \ diff --git a/compat/Dockerfile.5.6-fpm b/compat/Dockerfile.5.6-fpm index dec3b1f..4d70f67 100644 --- a/compat/Dockerfile.5.6-fpm +++ b/compat/Dockerfile.5.6-fpm @@ -63,7 +63,7 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie" ENV GPG_KEYS 0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3 ENV PHP_VERSION 5.6.40 -ENV PHP_URL="https://secure.php.net/get/php-5.6.40.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-5.6.40.tar.xz.asc/from/this/mirror" +ENV PHP_URL="https://www.php.net/distributions/php-5.6.40.tar.xz" PHP_ASC_URL="https://www.php.net/distributions/php-5.6.40.tar.xz.asc" ENV PHP_SHA256="1369a51eee3995d7fbd1c5342e5cc917760e276d561595b6052b21ace2656d1c" PHP_MD5="" RUN set -xe; \