-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Update php #19329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Update php #19329
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes: - docker-library/php@33c1de7e: Merge pull request docker-library/php#1587 from TimWolla/opcache-enable-by-default - docker-library/php@2a526901: Enable opcache by default
Diff for 9a6cef3:diff --git a/_bashbrew-cat b/_bashbrew-cat
index 04ce1d8..5a79d54 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -3,420 +3,420 @@ GitRepo: https://github.com/docker-library/php.git
Tags: 8.1.32-apache-bookworm, 8.1-apache-bookworm, 8.1.32-apache, 8.1-apache
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/bookworm/apache
Tags: 8.1.32-apache-bullseye, 8.1-apache-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/bullseye/apache
Tags: 8.1.32-cli-alpine3.21, 8.1-cli-alpine3.21, 8.1.32-alpine3.21, 8.1-alpine3.21, 8.1.32-cli-alpine, 8.1-cli-alpine, 8.1.32-alpine, 8.1-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/alpine3.21/cli
Tags: 8.1.32-cli-alpine3.22, 8.1-cli-alpine3.22, 8.1.32-alpine3.22, 8.1-alpine3.22
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 904a84a176cea22942566d52335794314c3b2aed
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/alpine3.22/cli
Tags: 8.1.32-cli-bookworm, 8.1-cli-bookworm, 8.1.32-bookworm, 8.1-bookworm, 8.1.32-cli, 8.1-cli, 8.1.32, 8.1
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/bookworm/cli
Tags: 8.1.32-cli-bullseye, 8.1-cli-bullseye, 8.1.32-bullseye, 8.1-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/bullseye/cli
Tags: 8.1.32-fpm-alpine3.21, 8.1-fpm-alpine3.21, 8.1.32-fpm-alpine, 8.1-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/alpine3.21/fpm
Tags: 8.1.32-fpm-alpine3.22, 8.1-fpm-alpine3.22
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 904a84a176cea22942566d52335794314c3b2aed
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/alpine3.22/fpm
Tags: 8.1.32-fpm-bookworm, 8.1-fpm-bookworm, 8.1.32-fpm, 8.1-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/bookworm/fpm
Tags: 8.1.32-fpm-bullseye, 8.1-fpm-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/bullseye/fpm
Tags: 8.1.32-zts-alpine3.21, 8.1-zts-alpine3.21, 8.1.32-zts-alpine, 8.1-zts-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/alpine3.21/zts
Tags: 8.1.32-zts-alpine3.22, 8.1-zts-alpine3.22
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9c90483c2bb64195cc9c55cb06a4830955015830
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/alpine3.22/zts
Tags: 8.1.32-zts-bookworm, 8.1-zts-bookworm, 8.1.32-zts, 8.1-zts
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/bookworm/zts
Tags: 8.1.32-zts-bullseye, 8.1-zts-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: aada98fe2ddd5df2b73e25ecf552c954b299f928
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.1/bullseye/zts
Tags: 8.2.28-apache-bookworm, 8.2-apache-bookworm, 8.2.28-apache, 8.2-apache
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/bookworm/apache
Tags: 8.2.28-apache-bullseye, 8.2-apache-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/bullseye/apache
Tags: 8.2.28-cli-alpine3.21, 8.2-cli-alpine3.21, 8.2.28-alpine3.21, 8.2-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/alpine3.21/cli
Tags: 8.2.28-cli-alpine3.22, 8.2-cli-alpine3.22, 8.2.28-alpine3.22, 8.2-alpine3.22, 8.2.28-cli-alpine, 8.2-cli-alpine, 8.2.28-alpine, 8.2-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 904a84a176cea22942566d52335794314c3b2aed
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/alpine3.22/cli
Tags: 8.2.28-cli-bookworm, 8.2-cli-bookworm, 8.2.28-bookworm, 8.2-bookworm, 8.2.28-cli, 8.2-cli, 8.2.28, 8.2
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/bookworm/cli
Tags: 8.2.28-cli-bullseye, 8.2-cli-bullseye, 8.2.28-bullseye, 8.2-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/bullseye/cli
Tags: 8.2.28-fpm-alpine3.21, 8.2-fpm-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/alpine3.21/fpm
Tags: 8.2.28-fpm-alpine3.22, 8.2-fpm-alpine3.22, 8.2.28-fpm-alpine, 8.2-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 904a84a176cea22942566d52335794314c3b2aed
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/alpine3.22/fpm
Tags: 8.2.28-fpm-bookworm, 8.2-fpm-bookworm, 8.2.28-fpm, 8.2-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/bookworm/fpm
Tags: 8.2.28-fpm-bullseye, 8.2-fpm-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/bullseye/fpm
Tags: 8.2.28-zts-alpine3.21, 8.2-zts-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/alpine3.21/zts
Tags: 8.2.28-zts-alpine3.22, 8.2-zts-alpine3.22, 8.2.28-zts-alpine, 8.2-zts-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9c90483c2bb64195cc9c55cb06a4830955015830
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/alpine3.22/zts
Tags: 8.2.28-zts-bookworm, 8.2-zts-bookworm, 8.2.28-zts, 8.2-zts
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/bookworm/zts
Tags: 8.2.28-zts-bullseye, 8.2-zts-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1d34ec5ee5ce9fa76a776c039a9f98533cc096f8
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.2/bullseye/zts
Tags: 8.3.22-apache-bookworm, 8.3-apache-bookworm, 8.3.22-apache, 8.3-apache
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/bookworm/apache
Tags: 8.3.22-apache-bullseye, 8.3-apache-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/bullseye/apache
Tags: 8.3.22-cli-alpine3.21, 8.3-cli-alpine3.21, 8.3.22-alpine3.21, 8.3-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/alpine3.21/cli
Tags: 8.3.22-cli-alpine3.22, 8.3-cli-alpine3.22, 8.3.22-alpine3.22, 8.3-alpine3.22, 8.3.22-cli-alpine, 8.3-cli-alpine, 8.3.22-alpine, 8.3-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 904a84a176cea22942566d52335794314c3b2aed
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/alpine3.22/cli
Tags: 8.3.22-cli-bookworm, 8.3-cli-bookworm, 8.3.22-bookworm, 8.3-bookworm, 8.3.22-cli, 8.3-cli, 8.3.22, 8.3
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/bookworm/cli
Tags: 8.3.22-cli-bullseye, 8.3-cli-bullseye, 8.3.22-bullseye, 8.3-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/bullseye/cli
Tags: 8.3.22-fpm-alpine3.21, 8.3-fpm-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/alpine3.21/fpm
Tags: 8.3.22-fpm-alpine3.22, 8.3-fpm-alpine3.22, 8.3.22-fpm-alpine, 8.3-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 904a84a176cea22942566d52335794314c3b2aed
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/alpine3.22/fpm
Tags: 8.3.22-fpm-bookworm, 8.3-fpm-bookworm, 8.3.22-fpm, 8.3-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/bookworm/fpm
Tags: 8.3.22-fpm-bullseye, 8.3-fpm-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/bullseye/fpm
Tags: 8.3.22-zts-alpine3.21, 8.3-zts-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/alpine3.21/zts
Tags: 8.3.22-zts-alpine3.22, 8.3-zts-alpine3.22, 8.3.22-zts-alpine, 8.3-zts-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9c90483c2bb64195cc9c55cb06a4830955015830
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/alpine3.22/zts
Tags: 8.3.22-zts-bookworm, 8.3-zts-bookworm, 8.3.22-zts, 8.3-zts
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/bookworm/zts
Tags: 8.3.22-zts-bullseye, 8.3-zts-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: e055cc2b6c4df1b306c59eddb6612bcc4e816c5c
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3/bullseye/zts
Tags: 8.3.23RC1-apache-bookworm, 8.3-rc-apache-bookworm, 8.3.23RC1-apache, 8.3-rc-apache
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/bookworm/apache
Tags: 8.3.23RC1-apache-bullseye, 8.3-rc-apache-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/bullseye/apache
Tags: 8.3.23RC1-cli-alpine3.21, 8.3-rc-cli-alpine3.21, 8.3.23RC1-alpine3.21, 8.3-rc-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/alpine3.21/cli
Tags: 8.3.23RC1-cli-alpine3.22, 8.3-rc-cli-alpine3.22, 8.3.23RC1-alpine3.22, 8.3-rc-alpine3.22, 8.3.23RC1-cli-alpine, 8.3-rc-cli-alpine, 8.3.23RC1-alpine, 8.3-rc-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/alpine3.22/cli
Tags: 8.3.23RC1-cli-bookworm, 8.3-rc-cli-bookworm, 8.3.23RC1-bookworm, 8.3-rc-bookworm, 8.3.23RC1-cli, 8.3-rc-cli, 8.3.23RC1, 8.3-rc
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/bookworm/cli
Tags: 8.3.23RC1-cli-bullseye, 8.3-rc-cli-bullseye, 8.3.23RC1-bullseye, 8.3-rc-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/bullseye/cli
Tags: 8.3.23RC1-fpm-alpine3.21, 8.3-rc-fpm-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/alpine3.21/fpm
Tags: 8.3.23RC1-fpm-alpine3.22, 8.3-rc-fpm-alpine3.22, 8.3.23RC1-fpm-alpine, 8.3-rc-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/alpine3.22/fpm
Tags: 8.3.23RC1-fpm-bookworm, 8.3-rc-fpm-bookworm, 8.3.23RC1-fpm, 8.3-rc-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/bookworm/fpm
Tags: 8.3.23RC1-fpm-bullseye, 8.3-rc-fpm-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/bullseye/fpm
Tags: 8.3.23RC1-zts-alpine3.21, 8.3-rc-zts-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/alpine3.21/zts
Tags: 8.3.23RC1-zts-alpine3.22, 8.3-rc-zts-alpine3.22, 8.3.23RC1-zts-alpine, 8.3-rc-zts-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/alpine3.22/zts
Tags: 8.3.23RC1-zts-bookworm, 8.3-rc-zts-bookworm, 8.3.23RC1-zts, 8.3-rc-zts
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/bookworm/zts
Tags: 8.3.23RC1-zts-bullseye, 8.3-rc-zts-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: dc1039868fac5f6de8cc59192fd186532c522111
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.3-rc/bullseye/zts
Tags: 8.4.8-apache-bookworm, 8.4-apache-bookworm, 8-apache-bookworm, apache-bookworm, 8.4.8-apache, 8.4-apache, 8-apache, apache
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/bookworm/apache
Tags: 8.4.8-apache-bullseye, 8.4-apache-bullseye, 8-apache-bullseye, apache-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/bullseye/apache
Tags: 8.4.8-cli-alpine3.21, 8.4-cli-alpine3.21, 8-cli-alpine3.21, cli-alpine3.21, 8.4.8-alpine3.21, 8.4-alpine3.21, 8-alpine3.21, alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/alpine3.21/cli
Tags: 8.4.8-cli-alpine3.22, 8.4-cli-alpine3.22, 8-cli-alpine3.22, cli-alpine3.22, 8.4.8-alpine3.22, 8.4-alpine3.22, 8-alpine3.22, alpine3.22, 8.4.8-cli-alpine, 8.4-cli-alpine, 8-cli-alpine, cli-alpine, 8.4.8-alpine, 8.4-alpine, 8-alpine, alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 904a84a176cea22942566d52335794314c3b2aed
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/alpine3.22/cli
Tags: 8.4.8-cli-bookworm, 8.4-cli-bookworm, 8-cli-bookworm, cli-bookworm, 8.4.8-bookworm, 8.4-bookworm, 8-bookworm, bookworm, 8.4.8-cli, 8.4-cli, 8-cli, cli, 8.4.8, 8.4, 8, latest
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/bookworm/cli
Tags: 8.4.8-cli-bullseye, 8.4-cli-bullseye, 8-cli-bullseye, cli-bullseye, 8.4.8-bullseye, 8.4-bullseye, 8-bullseye, bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/bullseye/cli
Tags: 8.4.8-fpm-alpine3.21, 8.4-fpm-alpine3.21, 8-fpm-alpine3.21, fpm-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/alpine3.21/fpm
Tags: 8.4.8-fpm-alpine3.22, 8.4-fpm-alpine3.22, 8-fpm-alpine3.22, fpm-alpine3.22, 8.4.8-fpm-alpine, 8.4-fpm-alpine, 8-fpm-alpine, fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 904a84a176cea22942566d52335794314c3b2aed
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/alpine3.22/fpm
Tags: 8.4.8-fpm-bookworm, 8.4-fpm-bookworm, 8-fpm-bookworm, fpm-bookworm, 8.4.8-fpm, 8.4-fpm, 8-fpm, fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/bookworm/fpm
Tags: 8.4.8-fpm-bullseye, 8.4-fpm-bullseye, 8-fpm-bullseye, fpm-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/bullseye/fpm
Tags: 8.4.8-zts-alpine3.21, 8.4-zts-alpine3.21, 8-zts-alpine3.21, zts-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/alpine3.21/zts
Tags: 8.4.8-zts-alpine3.22, 8.4-zts-alpine3.22, 8-zts-alpine3.22, zts-alpine3.22, 8.4.8-zts-alpine, 8.4-zts-alpine, 8-zts-alpine, zts-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9c90483c2bb64195cc9c55cb06a4830955015830
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/alpine3.22/zts
Tags: 8.4.8-zts-bookworm, 8.4-zts-bookworm, 8-zts-bookworm, zts-bookworm, 8.4.8-zts, 8.4-zts, 8-zts, zts
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/bookworm/zts
Tags: 8.4.8-zts-bullseye, 8.4-zts-bullseye, 8-zts-bullseye, zts-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 1b31e2e0cb2a9ad2cf0c198422be888bec840a59
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4/bullseye/zts
Tags: 8.4.9RC1-apache-bookworm, 8.4-rc-apache-bookworm, 8.4.9RC1-apache, 8.4-rc-apache
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/bookworm/apache
Tags: 8.4.9RC1-apache-bullseye, 8.4-rc-apache-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/bullseye/apache
Tags: 8.4.9RC1-cli-alpine3.21, 8.4-rc-cli-alpine3.21, 8.4.9RC1-alpine3.21, 8.4-rc-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/alpine3.21/cli
Tags: 8.4.9RC1-cli-alpine3.22, 8.4-rc-cli-alpine3.22, 8.4.9RC1-alpine3.22, 8.4-rc-alpine3.22, 8.4.9RC1-cli-alpine, 8.4-rc-cli-alpine, 8.4.9RC1-alpine, 8.4-rc-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/alpine3.22/cli
Tags: 8.4.9RC1-cli-bookworm, 8.4-rc-cli-bookworm, 8.4.9RC1-bookworm, 8.4-rc-bookworm, 8.4.9RC1-cli, 8.4-rc-cli, 8.4.9RC1, 8.4-rc
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/bookworm/cli
Tags: 8.4.9RC1-cli-bullseye, 8.4-rc-cli-bullseye, 8.4.9RC1-bullseye, 8.4-rc-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/bullseye/cli
Tags: 8.4.9RC1-fpm-alpine3.21, 8.4-rc-fpm-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/alpine3.21/fpm
Tags: 8.4.9RC1-fpm-alpine3.22, 8.4-rc-fpm-alpine3.22, 8.4.9RC1-fpm-alpine, 8.4-rc-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/alpine3.22/fpm
Tags: 8.4.9RC1-fpm-bookworm, 8.4-rc-fpm-bookworm, 8.4.9RC1-fpm, 8.4-rc-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/bookworm/fpm
Tags: 8.4.9RC1-fpm-bullseye, 8.4-rc-fpm-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/bullseye/fpm
Tags: 8.4.9RC1-zts-alpine3.21, 8.4-rc-zts-alpine3.21
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/alpine3.21/zts
Tags: 8.4.9RC1-zts-alpine3.22, 8.4-rc-zts-alpine3.22, 8.4.9RC1-zts-alpine, 8.4-rc-zts-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/alpine3.22/zts
Tags: 8.4.9RC1-zts-bookworm, 8.4-rc-zts-bookworm, 8.4.9RC1-zts, 8.4-rc-zts
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/bookworm/zts
Tags: 8.4.9RC1-zts-bullseye, 8.4-rc-zts-bullseye
Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 85abdb7b2a40baabbb16397f21825283667e141d
+GitCommit: 2a5269015e47294d70bbd025facd38b6ac564990
Directory: 8.4-rc/bullseye/zts
diff --git a/php_8.1-alpine/Dockerfile b/php_8.1-alpine/Dockerfile
index 0f1c34a..e580b3a 100644
--- a/php_8.1-alpine/Dockerfile
+++ b/php_8.1-alpine/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-alpine/docker-php-ext-install b/php_8.1-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-alpine/docker-php-ext-install
+++ b/php_8.1-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-alpine3.22/Dockerfile b/php_8.1-alpine3.22/Dockerfile
index c6271d3..4c8ed5b 100644
--- a/php_8.1-alpine3.22/Dockerfile
+++ b/php_8.1-alpine3.22/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-alpine3.22/docker-php-ext-install b/php_8.1-alpine3.22/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-alpine3.22/docker-php-ext-install
+++ b/php_8.1-alpine3.22/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-apache-bullseye/Dockerfile b/php_8.1-apache-bullseye/Dockerfile
index 08675ef..5823c75 100644
--- a/php_8.1-apache-bullseye/Dockerfile
+++ b/php_8.1-apache-bullseye/Dockerfile
@@ -280,6 +280,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-apache-bullseye/docker-php-ext-install b/php_8.1-apache-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-apache-bullseye/docker-php-ext-install
+++ b/php_8.1-apache-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-apache/Dockerfile b/php_8.1-apache/Dockerfile
index 4aff07c..5854c22 100644
--- a/php_8.1-apache/Dockerfile
+++ b/php_8.1-apache/Dockerfile
@@ -282,6 +282,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-apache/docker-php-ext-install b/php_8.1-apache/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-apache/docker-php-ext-install
+++ b/php_8.1-apache/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-bullseye/Dockerfile b/php_8.1-bullseye/Dockerfile
index 105a4ce..11fc848 100644
--- a/php_8.1-bullseye/Dockerfile
+++ b/php_8.1-bullseye/Dockerfile
@@ -221,6 +221,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-bullseye/docker-php-ext-install b/php_8.1-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-bullseye/docker-php-ext-install
+++ b/php_8.1-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-fpm-alpine/Dockerfile b/php_8.1-fpm-alpine/Dockerfile
index 73c7f78..8b32370 100644
--- a/php_8.1-fpm-alpine/Dockerfile
+++ b/php_8.1-fpm-alpine/Dockerfile
@@ -220,6 +220,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-fpm-alpine/docker-php-ext-install b/php_8.1-fpm-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-fpm-alpine/docker-php-ext-install
+++ b/php_8.1-fpm-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-fpm-alpine3.22/Dockerfile b/php_8.1-fpm-alpine3.22/Dockerfile
index 89853a1..6e4f4d0 100644
--- a/php_8.1-fpm-alpine3.22/Dockerfile
+++ b/php_8.1-fpm-alpine3.22/Dockerfile
@@ -220,6 +220,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-fpm-alpine3.22/docker-php-ext-install b/php_8.1-fpm-alpine3.22/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-fpm-alpine3.22/docker-php-ext-install
+++ b/php_8.1-fpm-alpine3.22/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-fpm-bullseye/Dockerfile b/php_8.1-fpm-bullseye/Dockerfile
index 04aacf6..ea88f65 100644
--- a/php_8.1-fpm-bullseye/Dockerfile
+++ b/php_8.1-fpm-bullseye/Dockerfile
@@ -223,6 +223,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-fpm-bullseye/docker-php-ext-install b/php_8.1-fpm-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-fpm-bullseye/docker-php-ext-install
+++ b/php_8.1-fpm-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-fpm/Dockerfile b/php_8.1-fpm/Dockerfile
index 80ca00f..37e5abd 100644
--- a/php_8.1-fpm/Dockerfile
+++ b/php_8.1-fpm/Dockerfile
@@ -223,6 +223,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-fpm/docker-php-ext-install b/php_8.1-fpm/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-fpm/docker-php-ext-install
+++ b/php_8.1-fpm/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-zts-alpine/Dockerfile b/php_8.1-zts-alpine/Dockerfile
index 90d4c67..6ef9662 100644
--- a/php_8.1-zts-alpine/Dockerfile
+++ b/php_8.1-zts-alpine/Dockerfile
@@ -223,6 +223,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-zts-alpine/docker-php-ext-install b/php_8.1-zts-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-zts-alpine/docker-php-ext-install
+++ b/php_8.1-zts-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-zts-alpine3.22/Dockerfile b/php_8.1-zts-alpine3.22/Dockerfile
index 168800d..3087e02 100644
--- a/php_8.1-zts-alpine3.22/Dockerfile
+++ b/php_8.1-zts-alpine3.22/Dockerfile
@@ -229,6 +229,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-zts-alpine3.22/docker-php-ext-install b/php_8.1-zts-alpine3.22/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-zts-alpine3.22/docker-php-ext-install
+++ b/php_8.1-zts-alpine3.22/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-zts-bullseye/Dockerfile b/php_8.1-zts-bullseye/Dockerfile
index e86076f..2103024 100644
--- a/php_8.1-zts-bullseye/Dockerfile
+++ b/php_8.1-zts-bullseye/Dockerfile
@@ -226,6 +226,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-zts-bullseye/docker-php-ext-install b/php_8.1-zts-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-zts-bullseye/docker-php-ext-install
+++ b/php_8.1-zts-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1-zts/Dockerfile b/php_8.1-zts/Dockerfile
index 10ee4ea..e4fda4e 100644
--- a/php_8.1-zts/Dockerfile
+++ b/php_8.1-zts/Dockerfile
@@ -226,6 +226,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1-zts/docker-php-ext-install b/php_8.1-zts/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1-zts/docker-php-ext-install
+++ b/php_8.1-zts/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.1/Dockerfile b/php_8.1/Dockerfile
index 0448b73..0badc91 100644
--- a/php_8.1/Dockerfile
+++ b/php_8.1/Dockerfile
@@ -221,6 +221,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.1/docker-php-ext-install b/php_8.1/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.1/docker-php-ext-install
+++ b/php_8.1/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-alpine/Dockerfile b/php_8.2-alpine/Dockerfile
index 6df54d8..5d1cab6 100644
--- a/php_8.2-alpine/Dockerfile
+++ b/php_8.2-alpine/Dockerfile
@@ -200,6 +200,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-alpine/docker-php-ext-install b/php_8.2-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-alpine/docker-php-ext-install
+++ b/php_8.2-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-alpine3.21/Dockerfile b/php_8.2-alpine3.21/Dockerfile
index 4a77709..cc90466 100644
--- a/php_8.2-alpine3.21/Dockerfile
+++ b/php_8.2-alpine3.21/Dockerfile
@@ -200,6 +200,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-alpine3.21/docker-php-ext-install b/php_8.2-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-alpine3.21/docker-php-ext-install
+++ b/php_8.2-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-apache-bullseye/Dockerfile b/php_8.2-apache-bullseye/Dockerfile
index c3b7362..b302b1e 100644
--- a/php_8.2-apache-bullseye/Dockerfile
+++ b/php_8.2-apache-bullseye/Dockerfile
@@ -278,6 +278,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-apache-bullseye/docker-php-ext-install b/php_8.2-apache-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-apache-bullseye/docker-php-ext-install
+++ b/php_8.2-apache-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-apache/Dockerfile b/php_8.2-apache/Dockerfile
index f12fd4d..30bfdc8 100644
--- a/php_8.2-apache/Dockerfile
+++ b/php_8.2-apache/Dockerfile
@@ -280,6 +280,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-apache/docker-php-ext-install b/php_8.2-apache/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-apache/docker-php-ext-install
+++ b/php_8.2-apache/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-bullseye/Dockerfile b/php_8.2-bullseye/Dockerfile
index 101a068..67b55cb 100644
--- a/php_8.2-bullseye/Dockerfile
+++ b/php_8.2-bullseye/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-bullseye/docker-php-ext-install b/php_8.2-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-bullseye/docker-php-ext-install
+++ b/php_8.2-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-fpm-alpine/Dockerfile b/php_8.2-fpm-alpine/Dockerfile
index fdcfe60..6f19994 100644
--- a/php_8.2-fpm-alpine/Dockerfile
+++ b/php_8.2-fpm-alpine/Dockerfile
@@ -205,6 +205,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-fpm-alpine/docker-php-ext-install b/php_8.2-fpm-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-fpm-alpine/docker-php-ext-install
+++ b/php_8.2-fpm-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-fpm-alpine3.21/Dockerfile b/php_8.2-fpm-alpine3.21/Dockerfile
index 3140493..bb08205 100644
--- a/php_8.2-fpm-alpine3.21/Dockerfile
+++ b/php_8.2-fpm-alpine3.21/Dockerfile
@@ -205,6 +205,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-fpm-alpine3.21/docker-php-ext-install b/php_8.2-fpm-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-fpm-alpine3.21/docker-php-ext-install
+++ b/php_8.2-fpm-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-fpm-bullseye/Dockerfile b/php_8.2-fpm-bullseye/Dockerfile
index aa1cf53..2c9b980 100644
--- a/php_8.2-fpm-bullseye/Dockerfile
+++ b/php_8.2-fpm-bullseye/Dockerfile
@@ -221,6 +221,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-fpm-bullseye/docker-php-ext-install b/php_8.2-fpm-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-fpm-bullseye/docker-php-ext-install
+++ b/php_8.2-fpm-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-fpm/Dockerfile b/php_8.2-fpm/Dockerfile
index cf4ec38..0cd6c83 100644
--- a/php_8.2-fpm/Dockerfile
+++ b/php_8.2-fpm/Dockerfile
@@ -221,6 +221,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-fpm/docker-php-ext-install b/php_8.2-fpm/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-fpm/docker-php-ext-install
+++ b/php_8.2-fpm/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-zts-alpine/Dockerfile b/php_8.2-zts-alpine/Dockerfile
index 0932180..cf50faf 100644
--- a/php_8.2-zts-alpine/Dockerfile
+++ b/php_8.2-zts-alpine/Dockerfile
@@ -216,6 +216,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-zts-alpine/docker-php-ext-install b/php_8.2-zts-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-zts-alpine/docker-php-ext-install
+++ b/php_8.2-zts-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-zts-alpine3.21/Dockerfile b/php_8.2-zts-alpine3.21/Dockerfile
index 956e7a3..9abd802 100644
--- a/php_8.2-zts-alpine3.21/Dockerfile
+++ b/php_8.2-zts-alpine3.21/Dockerfile
@@ -208,6 +208,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-zts-alpine3.21/docker-php-ext-install b/php_8.2-zts-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-zts-alpine3.21/docker-php-ext-install
+++ b/php_8.2-zts-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-zts-bullseye/Dockerfile b/php_8.2-zts-bullseye/Dockerfile
index 9296bbf..20fc508 100644
--- a/php_8.2-zts-bullseye/Dockerfile
+++ b/php_8.2-zts-bullseye/Dockerfile
@@ -224,6 +224,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-zts-bullseye/docker-php-ext-install b/php_8.2-zts-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-zts-bullseye/docker-php-ext-install
+++ b/php_8.2-zts-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2-zts/Dockerfile b/php_8.2-zts/Dockerfile
index c9c4d83..1fa57d4 100644
--- a/php_8.2-zts/Dockerfile
+++ b/php_8.2-zts/Dockerfile
@@ -224,6 +224,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2-zts/docker-php-ext-install b/php_8.2-zts/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2-zts/docker-php-ext-install
+++ b/php_8.2-zts/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.2/Dockerfile b/php_8.2/Dockerfile
index e1746da..16d0fee 100644
--- a/php_8.2/Dockerfile
+++ b/php_8.2/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.2/docker-php-ext-install b/php_8.2/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.2/docker-php-ext-install
+++ b/php_8.2/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-alpine/Dockerfile b/php_8.3-alpine/Dockerfile
index adad4cb..768b347 100644
--- a/php_8.3-alpine/Dockerfile
+++ b/php_8.3-alpine/Dockerfile
@@ -196,6 +196,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-alpine/docker-php-ext-install b/php_8.3-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-alpine/docker-php-ext-install
+++ b/php_8.3-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-alpine3.21/Dockerfile b/php_8.3-alpine3.21/Dockerfile
index 30e2fbf..fbdc640 100644
--- a/php_8.3-alpine3.21/Dockerfile
+++ b/php_8.3-alpine3.21/Dockerfile
@@ -196,6 +196,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-alpine3.21/docker-php-ext-install b/php_8.3-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-alpine3.21/docker-php-ext-install
+++ b/php_8.3-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-apache-bullseye/Dockerfile b/php_8.3-apache-bullseye/Dockerfile
index f3cb81c..0d3f914 100644
--- a/php_8.3-apache-bullseye/Dockerfile
+++ b/php_8.3-apache-bullseye/Dockerfile
@@ -274,6 +274,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-apache-bullseye/docker-php-ext-install b/php_8.3-apache-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-apache-bullseye/docker-php-ext-install
+++ b/php_8.3-apache-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-apache/Dockerfile b/php_8.3-apache/Dockerfile
index f018012..a9cbb49 100644
--- a/php_8.3-apache/Dockerfile
+++ b/php_8.3-apache/Dockerfile
@@ -276,6 +276,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-apache/docker-php-ext-install b/php_8.3-apache/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-apache/docker-php-ext-install
+++ b/php_8.3-apache/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-bullseye/Dockerfile b/php_8.3-bullseye/Dockerfile
index 4f0246d..1ccc85b 100644
--- a/php_8.3-bullseye/Dockerfile
+++ b/php_8.3-bullseye/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-bullseye/docker-php-ext-install b/php_8.3-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-bullseye/docker-php-ext-install
+++ b/php_8.3-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-fpm-alpine/Dockerfile b/php_8.3-fpm-alpine/Dockerfile
index 1d280e5..05c37a3 100644
--- a/php_8.3-fpm-alpine/Dockerfile
+++ b/php_8.3-fpm-alpine/Dockerfile
@@ -201,6 +201,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-fpm-alpine/docker-php-ext-install b/php_8.3-fpm-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-fpm-alpine/docker-php-ext-install
+++ b/php_8.3-fpm-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-fpm-alpine3.21/Dockerfile b/php_8.3-fpm-alpine3.21/Dockerfile
index efe7408..360bac6 100644
--- a/php_8.3-fpm-alpine3.21/Dockerfile
+++ b/php_8.3-fpm-alpine3.21/Dockerfile
@@ -201,6 +201,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-fpm-alpine3.21/docker-php-ext-install b/php_8.3-fpm-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-fpm-alpine3.21/docker-php-ext-install
+++ b/php_8.3-fpm-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-fpm-bullseye/Dockerfile b/php_8.3-fpm-bullseye/Dockerfile
index a00ed1c..7df3e99 100644
--- a/php_8.3-fpm-bullseye/Dockerfile
+++ b/php_8.3-fpm-bullseye/Dockerfile
@@ -217,6 +217,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-fpm-bullseye/docker-php-ext-install b/php_8.3-fpm-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-fpm-bullseye/docker-php-ext-install
+++ b/php_8.3-fpm-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-fpm/Dockerfile b/php_8.3-fpm/Dockerfile
index cd479c2..6f54e3f 100644
--- a/php_8.3-fpm/Dockerfile
+++ b/php_8.3-fpm/Dockerfile
@@ -217,6 +217,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-fpm/docker-php-ext-install b/php_8.3-fpm/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-fpm/docker-php-ext-install
+++ b/php_8.3-fpm/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-alpine/Dockerfile b/php_8.3-rc-alpine/Dockerfile
index bd6d3ef..8e73da6 100644
--- a/php_8.3-rc-alpine/Dockerfile
+++ b/php_8.3-rc-alpine/Dockerfile
@@ -196,6 +196,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-alpine/docker-php-ext-install b/php_8.3-rc-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-alpine/docker-php-ext-install
+++ b/php_8.3-rc-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-alpine3.21/Dockerfile b/php_8.3-rc-alpine3.21/Dockerfile
index acbba43..6971a58 100644
--- a/php_8.3-rc-alpine3.21/Dockerfile
+++ b/php_8.3-rc-alpine3.21/Dockerfile
@@ -196,6 +196,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-alpine3.21/docker-php-ext-install b/php_8.3-rc-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-alpine3.21/docker-php-ext-install
+++ b/php_8.3-rc-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-apache-bullseye/Dockerfile b/php_8.3-rc-apache-bullseye/Dockerfile
index 5cdbb6d..e3b0f34 100644
--- a/php_8.3-rc-apache-bullseye/Dockerfile
+++ b/php_8.3-rc-apache-bullseye/Dockerfile
@@ -274,6 +274,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-apache-bullseye/docker-php-ext-install b/php_8.3-rc-apache-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-apache-bullseye/docker-php-ext-install
+++ b/php_8.3-rc-apache-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-apache/Dockerfile b/php_8.3-rc-apache/Dockerfile
index c8f684d..44a2f81 100644
--- a/php_8.3-rc-apache/Dockerfile
+++ b/php_8.3-rc-apache/Dockerfile
@@ -276,6 +276,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-apache/docker-php-ext-install b/php_8.3-rc-apache/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-apache/docker-php-ext-install
+++ b/php_8.3-rc-apache/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-bullseye/Dockerfile b/php_8.3-rc-bullseye/Dockerfile
index c15d3b3..4ef1241 100644
--- a/php_8.3-rc-bullseye/Dockerfile
+++ b/php_8.3-rc-bullseye/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-bullseye/docker-php-ext-install b/php_8.3-rc-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-bullseye/docker-php-ext-install
+++ b/php_8.3-rc-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-fpm-alpine/Dockerfile b/php_8.3-rc-fpm-alpine/Dockerfile
index df5ca00..badf8f5 100644
--- a/php_8.3-rc-fpm-alpine/Dockerfile
+++ b/php_8.3-rc-fpm-alpine/Dockerfile
@@ -201,6 +201,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-fpm-alpine/docker-php-ext-install b/php_8.3-rc-fpm-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-fpm-alpine/docker-php-ext-install
+++ b/php_8.3-rc-fpm-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-fpm-alpine3.21/Dockerfile b/php_8.3-rc-fpm-alpine3.21/Dockerfile
index bfbbe05..2a9019d 100644
--- a/php_8.3-rc-fpm-alpine3.21/Dockerfile
+++ b/php_8.3-rc-fpm-alpine3.21/Dockerfile
@@ -201,6 +201,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-fpm-alpine3.21/docker-php-ext-install b/php_8.3-rc-fpm-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-fpm-alpine3.21/docker-php-ext-install
+++ b/php_8.3-rc-fpm-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-fpm-bullseye/Dockerfile b/php_8.3-rc-fpm-bullseye/Dockerfile
index 918643f..93632d4 100644
--- a/php_8.3-rc-fpm-bullseye/Dockerfile
+++ b/php_8.3-rc-fpm-bullseye/Dockerfile
@@ -217,6 +217,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-fpm-bullseye/docker-php-ext-install b/php_8.3-rc-fpm-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-fpm-bullseye/docker-php-ext-install
+++ b/php_8.3-rc-fpm-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-fpm/Dockerfile b/php_8.3-rc-fpm/Dockerfile
index f2a89ef..87d6388 100644
--- a/php_8.3-rc-fpm/Dockerfile
+++ b/php_8.3-rc-fpm/Dockerfile
@@ -217,6 +217,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-fpm/docker-php-ext-install b/php_8.3-rc-fpm/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-fpm/docker-php-ext-install
+++ b/php_8.3-rc-fpm/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-zts-alpine/Dockerfile b/php_8.3-rc-zts-alpine/Dockerfile
index 9b5e293..0ca9fe0 100644
--- a/php_8.3-rc-zts-alpine/Dockerfile
+++ b/php_8.3-rc-zts-alpine/Dockerfile
@@ -203,6 +203,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-zts-alpine/docker-php-ext-install b/php_8.3-rc-zts-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-zts-alpine/docker-php-ext-install
+++ b/php_8.3-rc-zts-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-zts-alpine3.21/Dockerfile b/php_8.3-rc-zts-alpine3.21/Dockerfile
index 06b2379..6d0ef7e 100644
--- a/php_8.3-rc-zts-alpine3.21/Dockerfile
+++ b/php_8.3-rc-zts-alpine3.21/Dockerfile
@@ -203,6 +203,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-zts-alpine3.21/docker-php-ext-install b/php_8.3-rc-zts-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-zts-alpine3.21/docker-php-ext-install
+++ b/php_8.3-rc-zts-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-zts-bullseye/Dockerfile b/php_8.3-rc-zts-bullseye/Dockerfile
index 0020a53..d806eda 100644
--- a/php_8.3-rc-zts-bullseye/Dockerfile
+++ b/php_8.3-rc-zts-bullseye/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-zts-bullseye/docker-php-ext-install b/php_8.3-rc-zts-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-zts-bullseye/docker-php-ext-install
+++ b/php_8.3-rc-zts-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc-zts/Dockerfile b/php_8.3-rc-zts/Dockerfile
index b493459..35b2ac9 100644
--- a/php_8.3-rc-zts/Dockerfile
+++ b/php_8.3-rc-zts/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc-zts/docker-php-ext-install b/php_8.3-rc-zts/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc-zts/docker-php-ext-install
+++ b/php_8.3-rc-zts/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-rc/Dockerfile b/php_8.3-rc/Dockerfile
index 83e2a2a..9dd2994 100644
--- a/php_8.3-rc/Dockerfile
+++ b/php_8.3-rc/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-rc/docker-php-ext-install b/php_8.3-rc/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-rc/docker-php-ext-install
+++ b/php_8.3-rc/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-zts-alpine/Dockerfile b/php_8.3-zts-alpine/Dockerfile
index 816d9d4..e4a3b31 100644
--- a/php_8.3-zts-alpine/Dockerfile
+++ b/php_8.3-zts-alpine/Dockerfile
@@ -211,6 +211,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-zts-alpine/docker-php-ext-install b/php_8.3-zts-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-zts-alpine/docker-php-ext-install
+++ b/php_8.3-zts-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-zts-alpine3.21/Dockerfile b/php_8.3-zts-alpine3.21/Dockerfile
index b5a102b..f14bf02 100644
--- a/php_8.3-zts-alpine3.21/Dockerfile
+++ b/php_8.3-zts-alpine3.21/Dockerfile
@@ -203,6 +203,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-zts-alpine3.21/docker-php-ext-install b/php_8.3-zts-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-zts-alpine3.21/docker-php-ext-install
+++ b/php_8.3-zts-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-zts-bullseye/Dockerfile b/php_8.3-zts-bullseye/Dockerfile
index 0953d0c..bf74d67 100644
--- a/php_8.3-zts-bullseye/Dockerfile
+++ b/php_8.3-zts-bullseye/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-zts-bullseye/docker-php-ext-install b/php_8.3-zts-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-zts-bullseye/docker-php-ext-install
+++ b/php_8.3-zts-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3-zts/Dockerfile b/php_8.3-zts/Dockerfile
index 93510f1..84db527 100644
--- a/php_8.3-zts/Dockerfile
+++ b/php_8.3-zts/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3-zts/docker-php-ext-install b/php_8.3-zts/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3-zts/docker-php-ext-install
+++ b/php_8.3-zts/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.3/Dockerfile b/php_8.3/Dockerfile
index 573b2dc..bba6a0c 100644
--- a/php_8.3/Dockerfile
+++ b/php_8.3/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.3/docker-php-ext-install b/php_8.3/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.3/docker-php-ext-install
+++ b/php_8.3/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-alpine/Dockerfile b/php_8.4-rc-alpine/Dockerfile
index be4ce98..cd6340b 100644
--- a/php_8.4-rc-alpine/Dockerfile
+++ b/php_8.4-rc-alpine/Dockerfile
@@ -196,6 +196,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-alpine/docker-php-ext-install b/php_8.4-rc-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-alpine/docker-php-ext-install
+++ b/php_8.4-rc-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-alpine3.21/Dockerfile b/php_8.4-rc-alpine3.21/Dockerfile
index 8972d1b..d9d3e9f 100644
--- a/php_8.4-rc-alpine3.21/Dockerfile
+++ b/php_8.4-rc-alpine3.21/Dockerfile
@@ -196,6 +196,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-alpine3.21/docker-php-ext-install b/php_8.4-rc-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-alpine3.21/docker-php-ext-install
+++ b/php_8.4-rc-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-apache-bullseye/Dockerfile b/php_8.4-rc-apache-bullseye/Dockerfile
index 75889d4..6e3b34c 100644
--- a/php_8.4-rc-apache-bullseye/Dockerfile
+++ b/php_8.4-rc-apache-bullseye/Dockerfile
@@ -274,6 +274,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-apache-bullseye/docker-php-ext-install b/php_8.4-rc-apache-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-apache-bullseye/docker-php-ext-install
+++ b/php_8.4-rc-apache-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-apache/Dockerfile b/php_8.4-rc-apache/Dockerfile
index 63dc9ae..a23047d 100644
--- a/php_8.4-rc-apache/Dockerfile
+++ b/php_8.4-rc-apache/Dockerfile
@@ -276,6 +276,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-apache/docker-php-ext-install b/php_8.4-rc-apache/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-apache/docker-php-ext-install
+++ b/php_8.4-rc-apache/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-bullseye/Dockerfile b/php_8.4-rc-bullseye/Dockerfile
index ff120c1..dec2fcf 100644
--- a/php_8.4-rc-bullseye/Dockerfile
+++ b/php_8.4-rc-bullseye/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-bullseye/docker-php-ext-install b/php_8.4-rc-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-bullseye/docker-php-ext-install
+++ b/php_8.4-rc-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-fpm-alpine/Dockerfile b/php_8.4-rc-fpm-alpine/Dockerfile
index 08fe6b8..0656774 100644
--- a/php_8.4-rc-fpm-alpine/Dockerfile
+++ b/php_8.4-rc-fpm-alpine/Dockerfile
@@ -201,6 +201,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-fpm-alpine/docker-php-ext-install b/php_8.4-rc-fpm-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-fpm-alpine/docker-php-ext-install
+++ b/php_8.4-rc-fpm-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-fpm-alpine3.21/Dockerfile b/php_8.4-rc-fpm-alpine3.21/Dockerfile
index ca7913c..f81832c 100644
--- a/php_8.4-rc-fpm-alpine3.21/Dockerfile
+++ b/php_8.4-rc-fpm-alpine3.21/Dockerfile
@@ -201,6 +201,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-fpm-alpine3.21/docker-php-ext-install b/php_8.4-rc-fpm-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-fpm-alpine3.21/docker-php-ext-install
+++ b/php_8.4-rc-fpm-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-fpm-bullseye/Dockerfile b/php_8.4-rc-fpm-bullseye/Dockerfile
index 4fbdc7f..af62cbe 100644
--- a/php_8.4-rc-fpm-bullseye/Dockerfile
+++ b/php_8.4-rc-fpm-bullseye/Dockerfile
@@ -217,6 +217,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-fpm-bullseye/docker-php-ext-install b/php_8.4-rc-fpm-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-fpm-bullseye/docker-php-ext-install
+++ b/php_8.4-rc-fpm-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-fpm/Dockerfile b/php_8.4-rc-fpm/Dockerfile
index 1a35c1e..6c6108f 100644
--- a/php_8.4-rc-fpm/Dockerfile
+++ b/php_8.4-rc-fpm/Dockerfile
@@ -217,6 +217,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-fpm/docker-php-ext-install b/php_8.4-rc-fpm/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-fpm/docker-php-ext-install
+++ b/php_8.4-rc-fpm/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-zts-alpine/Dockerfile b/php_8.4-rc-zts-alpine/Dockerfile
index a7039e2..d08d4df 100644
--- a/php_8.4-rc-zts-alpine/Dockerfile
+++ b/php_8.4-rc-zts-alpine/Dockerfile
@@ -203,6 +203,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-zts-alpine/docker-php-ext-install b/php_8.4-rc-zts-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-zts-alpine/docker-php-ext-install
+++ b/php_8.4-rc-zts-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-zts-alpine3.21/Dockerfile b/php_8.4-rc-zts-alpine3.21/Dockerfile
index c256777..c69fc34 100644
--- a/php_8.4-rc-zts-alpine3.21/Dockerfile
+++ b/php_8.4-rc-zts-alpine3.21/Dockerfile
@@ -203,6 +203,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-zts-alpine3.21/docker-php-ext-install b/php_8.4-rc-zts-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-zts-alpine3.21/docker-php-ext-install
+++ b/php_8.4-rc-zts-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-zts-bullseye/Dockerfile b/php_8.4-rc-zts-bullseye/Dockerfile
index 1de95d3..8b8bd69 100644
--- a/php_8.4-rc-zts-bullseye/Dockerfile
+++ b/php_8.4-rc-zts-bullseye/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-zts-bullseye/docker-php-ext-install b/php_8.4-rc-zts-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-zts-bullseye/docker-php-ext-install
+++ b/php_8.4-rc-zts-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc-zts/Dockerfile b/php_8.4-rc-zts/Dockerfile
index e0ea6cc..cff5a04 100644
--- a/php_8.4-rc-zts/Dockerfile
+++ b/php_8.4-rc-zts/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc-zts/docker-php-ext-install b/php_8.4-rc-zts/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc-zts/docker-php-ext-install
+++ b/php_8.4-rc-zts/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_8.4-rc/Dockerfile b/php_8.4-rc/Dockerfile
index 9e6eacc..6ca3d5f 100644
--- a/php_8.4-rc/Dockerfile
+++ b/php_8.4-rc/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_8.4-rc/docker-php-ext-install b/php_8.4-rc/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_8.4-rc/docker-php-ext-install
+++ b/php_8.4-rc/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_alpine/Dockerfile b/php_alpine/Dockerfile
index 2afa8f2..ad38de9 100644
--- a/php_alpine/Dockerfile
+++ b/php_alpine/Dockerfile
@@ -196,6 +196,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_alpine/docker-php-ext-install b/php_alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_alpine/docker-php-ext-install
+++ b/php_alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_alpine3.21/Dockerfile b/php_alpine3.21/Dockerfile
index e405ac0..9b4d2bd 100644
--- a/php_alpine3.21/Dockerfile
+++ b/php_alpine3.21/Dockerfile
@@ -196,6 +196,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_alpine3.21/docker-php-ext-install b/php_alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_alpine3.21/docker-php-ext-install
+++ b/php_alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_apache-bullseye/Dockerfile b/php_apache-bullseye/Dockerfile
index b007b97..3e2b1b4 100644
--- a/php_apache-bullseye/Dockerfile
+++ b/php_apache-bullseye/Dockerfile
@@ -274,6 +274,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_apache-bullseye/docker-php-ext-install b/php_apache-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_apache-bullseye/docker-php-ext-install
+++ b/php_apache-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_apache/Dockerfile b/php_apache/Dockerfile
index 1165cea..65c8ed0 100644
--- a/php_apache/Dockerfile
+++ b/php_apache/Dockerfile
@@ -276,6 +276,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_apache/docker-php-ext-install b/php_apache/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_apache/docker-php-ext-install
+++ b/php_apache/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_bullseye/Dockerfile b/php_bullseye/Dockerfile
index f4221a2..1e43a18 100644
--- a/php_bullseye/Dockerfile
+++ b/php_bullseye/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_bullseye/docker-php-ext-install b/php_bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_bullseye/docker-php-ext-install
+++ b/php_bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_fpm-alpine/Dockerfile b/php_fpm-alpine/Dockerfile
index dd4932b..58bb23a 100644
--- a/php_fpm-alpine/Dockerfile
+++ b/php_fpm-alpine/Dockerfile
@@ -201,6 +201,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_fpm-alpine/docker-php-ext-install b/php_fpm-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_fpm-alpine/docker-php-ext-install
+++ b/php_fpm-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_fpm-alpine3.21/Dockerfile b/php_fpm-alpine3.21/Dockerfile
index 3f9c2eb..f63833f 100644
--- a/php_fpm-alpine3.21/Dockerfile
+++ b/php_fpm-alpine3.21/Dockerfile
@@ -201,6 +201,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_fpm-alpine3.21/docker-php-ext-install b/php_fpm-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_fpm-alpine3.21/docker-php-ext-install
+++ b/php_fpm-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_fpm-bullseye/Dockerfile b/php_fpm-bullseye/Dockerfile
index a34ba51..08911c7 100644
--- a/php_fpm-bullseye/Dockerfile
+++ b/php_fpm-bullseye/Dockerfile
@@ -217,6 +217,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_fpm-bullseye/docker-php-ext-install b/php_fpm-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_fpm-bullseye/docker-php-ext-install
+++ b/php_fpm-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_fpm/Dockerfile b/php_fpm/Dockerfile
index 391d1bf..4778819 100644
--- a/php_fpm/Dockerfile
+++ b/php_fpm/Dockerfile
@@ -217,6 +217,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_fpm/docker-php-ext-install b/php_fpm/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_fpm/docker-php-ext-install
+++ b/php_fpm/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_latest/Dockerfile b/php_latest/Dockerfile
index 72699d3..5b8ca25 100644
--- a/php_latest/Dockerfile
+++ b/php_latest/Dockerfile
@@ -215,6 +215,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_latest/docker-php-ext-install b/php_latest/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_latest/docker-php-ext-install
+++ b/php_latest/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_zts-alpine/Dockerfile b/php_zts-alpine/Dockerfile
index f51a98b..17f736b 100644
--- a/php_zts-alpine/Dockerfile
+++ b/php_zts-alpine/Dockerfile
@@ -211,6 +211,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_zts-alpine/docker-php-ext-install b/php_zts-alpine/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_zts-alpine/docker-php-ext-install
+++ b/php_zts-alpine/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_zts-alpine3.21/Dockerfile b/php_zts-alpine3.21/Dockerfile
index 955242e..4d3f1c0 100644
--- a/php_zts-alpine3.21/Dockerfile
+++ b/php_zts-alpine3.21/Dockerfile
@@ -203,6 +203,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_zts-alpine3.21/docker-php-ext-install b/php_zts-alpine3.21/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_zts-alpine3.21/docker-php-ext-install
+++ b/php_zts-alpine3.21/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_zts-bullseye/Dockerfile b/php_zts-bullseye/Dockerfile
index bcd3f3b..468194e 100644
--- a/php_zts-bullseye/Dockerfile
+++ b/php_zts-bullseye/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_zts-bullseye/docker-php-ext-install b/php_zts-bullseye/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_zts-bullseye/docker-php-ext-install
+++ b/php_zts-bullseye/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean
diff --git a/php_zts/Dockerfile b/php_zts/Dockerfile
index 49e3d10..3628611 100644
--- a/php_zts/Dockerfile
+++ b/php_zts/Dockerfile
@@ -219,6 +219,9 @@ RUN set -eux; \
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
+# enable OPcache by default (https://wiki.php.net/rfc/make_opcache_required)
+RUN docker-php-ext-enable opcache
+
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium
diff --git a/php_zts/docker-php-ext-install b/php_zts/docker-php-ext-install
index aa0b96c..fbf4484 100755
--- a/php_zts/docker-php-ext-install
+++ b/php_zts/docker-php-ext-install
@@ -126,7 +126,7 @@ for ext in $exts; do
find modules \
-maxdepth 1 \
-name '*.so' \
- -exec basename '{}' ';' \
+ -exec basename '{}' '.so' ';' \
| xargs -r docker-php-ext-enable ${iniName:+--ini-name "$iniName"}
make -j"$j" clean Relevant Maintainers: |
yosifkit
approved these changes
Jun 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes: