Skip to content

Commit

Permalink
Run configure_pecl only when ini_files are set
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Oct 24, 2022
1 parent d2efbcd commit 89f4f7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/extensions/add_extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}}"
Expand Down

0 comments on commit 89f4f7e

Please sign in to comment.