diff --git a/CHANGELOG.md b/CHANGELOG.md index a93edce9..5c8219e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ ## Unreleased +## Release 0.116 + +#### Fixed +- [#749](https://github.com/cytopia/devilbox/issues/749) Fix to disable PHP modules without trailing `*.so` extension + + ## Release 0.115 #### Fixed diff --git a/Dockerfiles/prod/data/docker-entrypoint.d/309-disable-modules.sh b/Dockerfiles/prod/data/docker-entrypoint.d/309-disable-modules.sh index d8325db5..b8c9c187 100755 --- a/Dockerfiles/prod/data/docker-entrypoint.d/309-disable-modules.sh +++ b/Dockerfiles/prod/data/docker-entrypoint.d/309-disable-modules.sh @@ -33,7 +33,7 @@ disable_modules() { mod="$( echo "${mod}" | xargs )" # trim # Find all config files that enable that module - files="$( grep -Er "^(zend_)?extension.*(=|/)${mod}\.so" "${cfg_path}" || true )" + files="$( grep -Er "^(zend_)?extension.*(=|/)${mod}(\\.so)?\$" "${cfg_path}" || true )" if [ -n "${files}" ]; then while read -r f; do