1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Add support for installing FTP with SSL on PHP 8.2+ (#871)

This commit is contained in:
Michele Locati 2024-01-25 15:42:08 +01:00 committed by GitHub
parent 627f3ae1d0
commit 16b7be63e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 0 deletions

15
scripts/tests/ftp Executable file
View file

@ -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);