Skip to content

Commit

Permalink
Use correct prefix for zend_extensions when installed using PECL
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 6, 2023
1 parent 3f2a402 commit fb5054b
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 @@ -188,6 +188,7 @@ pecl_install() {
yes '' 2>/dev/null | sudo "$prefix_opts" pecl install -f -D "$(parse_pecl_configure_options "$suffix_opts")" "$extension" >/dev/null 2>&1
fi
local exit_code=$?
sudo pecl info "$extension" | grep -iq 'PECL-style zend extension' && prefix=zend_extension
enable_extension "${extension%-*}" "$prefix"
return "$exit_code"
}
Expand Down

0 comments on commit fb5054b

Please sign in to comment.