Skip to content

Commit 641cf9a

Browse files
authored
Stop statically compiling the FTP extension (#1482)
* Stop statically compiling the FTP extension According to the documentation of `ftp_ssl_connect()`, the limitation of requiring a static build was lifted with PHP 7.0. Thus stop forcibly including the FTP extension, which should be needed somewhat rarely. Example: root@2a4c93db4a86:/var/www/html# apt-get update -qqqqq root@2a4c93db4a86:/var/www/html# apt-get install -yyyyqqqq libssl-dev debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libssl-dev:amd64. (Reading database ... 13257 files and directories currently installed.) Preparing to unpack .../libssl-dev_3.0.11-1~deb12u2_amd64.deb ... Unpacking libssl-dev:amd64 (3.0.11-1~deb12u2) ... Setting up libssl-dev:amd64 (3.0.11-1~deb12u2) ... root@2a4c93db4a86:/var/www/html# docker-php-ext-configure ftp --with-openssl-dir >/dev/null root@2a4c93db4a86:/var/www/html# docker-php-ext-install ftp >/dev/null + strip --strip-all modules/ftp.so root@2a4c93db4a86:/var/www/html# php -r "var_dump(function_exists('ftp_ssl_connect'));" bool(true) * Drop `--enable-ftp` for the next patch
1 parent aacb482 commit 641cf9a

File tree

43 files changed

+45
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+45
-43
lines changed

8.1/alpine3.18/cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.18/fpm/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.18/zts/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.19/cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.19/fpm/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.19/zts/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/bookworm/apache/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/bookworm/cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/bookworm/fpm/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/bookworm/zts/Dockerfile

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)