mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-09 08:32:42 +00:00
Add support for installing FTP with SSL on PHP 8.2+ (#871)
This commit is contained in:
parent
627f3ae1d0
commit
16b7be63e0
3 changed files with 25 additions and 0 deletions
15
scripts/tests/ftp
Executable file
15
scripts/tests/ftp
Executable 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);
|
Loading…
Add table
Add a link
Reference in a new issue