diff --git a/docker-php-ext-enable b/docker-php-ext-enable index 564328ca..9fda6005 100755 --- a/docker-php-ext-enable +++ b/docker-php-ext-enable @@ -1,7 +1,7 @@ #!/bin/sh set -e -extDir="$(php -r 'echo ini_get("extension_dir");')" +extDir="$(php -d 'error_reporting=' -r 'echo ini_get("extension_dir");')" cd "$extDir" usage() {