Add support for installing FTP with SSL on PHP 8.2+ (#871)
parent
627f3ae1d0
commit
16b7be63e0
|
@ -21,6 +21,7 @@ event 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
|||
excimer 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||
exif 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||
ffi 7.4 8.0 8.1 8.2 8.3
|
||||
ftp 8.2 8.3
|
||||
gd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||
gearman 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
geoip 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||
|
|
|
@ -811,6 +811,12 @@ buildRequiredPackageLists() {
|
|||
ffi@debian)
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libffi-dev"
|
||||
;;
|
||||
ftp@alpine)
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libevent-dev $buildRequiredPackageLists_libssldev"
|
||||
;;
|
||||
ftp@debian)
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libevent-dev $buildRequiredPackageLists_libssldev"
|
||||
;;
|
||||
gd@alpine)
|
||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent freetype libjpeg-turbo libpng libxpm"
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetype-dev libjpeg-turbo-dev libpng-dev libxpm-dev"
|
||||
|
@ -2401,6 +2407,9 @@ EOF
|
|||
cd - >/dev/null
|
||||
fi
|
||||
;;
|
||||
ftp)
|
||||
docker-php-ext-configure ftp --with-openssl-dir=/usr
|
||||
;;
|
||||
gd)
|
||||
if test $PHP_MAJMIN_VERSION -le 506; then
|
||||
docker-php-ext-configure gd --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --with-freetype-dir --enable-gd-native-ttf --with-vpx-dir
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/_bootstrap.php';
|
||||
|
||||
$rc = 0;
|
||||
echo 'Checking if ftp_ssl_connect() exists... ';
|
||||
if (!function_exists('ftp_ssl_connect')) {
|
||||
$rc = 1;
|
||||
echo "NO!\n";
|
||||
} else {
|
||||
echo "yes.\n";
|
||||
}
|
||||
|
||||
exit($rc);
|
Loading…
Reference in New Issue