Skip to content

Commit

Permalink
Stop statically compiling the FTP extension (#1482)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
TimWolla authored Jan 3, 2024
1 parent aacb482 commit 641cf9a
Show file tree
Hide file tree
Showing 43 changed files with 45 additions and 43 deletions.
2 changes: 1 addition & 1 deletion 8.1/alpine3.18/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/alpine3.18/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/alpine3.18/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/alpine3.19/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/alpine3.19/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/alpine3.19/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/bookworm/apache/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/bookworm/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/bookworm/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/bookworm/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/bullseye/apache/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/bullseye/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/bullseye/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.1/bullseye/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/alpine3.18/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/alpine3.18/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/alpine3.18/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/alpine3.19/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/alpine3.19/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/alpine3.19/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/bookworm/apache/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/bookworm/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/bookworm/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/bookworm/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/bullseye/apache/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/bullseye/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/bullseye/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.2/bullseye/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.3/alpine3.18/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.3/alpine3.18/fpm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 8.3/alpine3.18/zts/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 641cf9a

Please sign in to comment.