mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-26 07:24:07 +07:00
Accept PECL default parameters
This commit is contained in:
@ -59,6 +59,12 @@ get_pecl_version() {
|
||||
echo "$pecl_version"
|
||||
}
|
||||
|
||||
# Function to install PECL extensions and accept default options
|
||||
pecl_install() {
|
||||
local extension=$1
|
||||
yes '' | sudo pecl install -f "$extension" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
# Function to test if extension is loaded
|
||||
check_extension() {
|
||||
extension=$1
|
||||
|
Reference in New Issue
Block a user