According to the PHP 8.4 UPGRADING.INTERNALS the --with-openssl-dir configure option has been removed.
SSL support in ext/ftp and ext/mysqlnd is now enabled implicitly when building with ext/openssl (--with-openssl), or explicitly by using the new configure options --with-ftp-ssl and --with-mysqlnd-ssl.
Docker image
php:8.4-rc-cli-alpine
Minimal Dockerfile
FROM php:8.4-rc-cli-alpine
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions ftp
Version of install-php-extensions
$ install-php-extensions ftp
Error description
According to the PHP 8.4 UPGRADING.INTERNALS the
--with-openssl-dir
configure option has been removed.SSL support in
ext/ftp
andext/mysqlnd
is now enabled implicitly when building withext/openssl
(--with-openssl
), or explicitly by using the new configure options--with-ftp-ssl
and--with-mysqlnd-ssl
.Docker image
php:8.4-rc-cli-alpine
Minimal Dockerfile