diff --git a/install-php-extensions b/install-php-extensions index 3062bab..4b3fbe6 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -765,7 +765,11 @@ installBundledModule() { esac ;; ldap) - docker-php-ext-configure ldap --with-libdir=lib/$(gcc -dumpmachine) + case "$(getDistro)" in + debian) + docker-php-ext-configure ldap --with-libdir=lib/$(gcc -dumpmachine) + ;; + esac ;; mssql | pdo_dblib) case "$1" in