diff --git a/src/scripts/extensions/add_extensions.sh b/src/scripts/extensions/add_extensions.sh index 0b461dfa..cf8cd86f 100644 --- a/src/scripts/extensions/add_extensions.sh +++ b/src/scripts/extensions/add_extensions.sh @@ -120,6 +120,7 @@ disable_all_shared() { # Function to configure PECL. configure_pecl() { + [ -z "${pecl_file:-${ini_file[@]}}" ] && return if ! [ -e /tmp/pecl_config ]; then for script in pear pecl; do sudo "$script" config-set php_ini "${pecl_file:-${ini_file[@]}}"