mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Fix support for pecl pdo extensions on Ubuntu
This commit is contained in:
parent
9e6b9d7d70
commit
ffded4a3e8
@ -165,7 +165,7 @@ add_pdo_extension() {
|
|||||||
read -r ext ext_name <<< "sqlite3 sqlite3"
|
read -r ext ext_name <<< "sqlite3 sqlite3"
|
||||||
fi
|
fi
|
||||||
add_extension "$ext_name" "$apt_install php$version-$ext" "extension" >/dev/null 2>&1
|
add_extension "$ext_name" "$apt_install php$version-$ext" "extension" >/dev/null 2>&1
|
||||||
enable_extension "$pdo_ext" "extension"
|
add_extension "$pdo_ext" "pecl_install $pdo_ext" "extension" >/dev/null 2>&1
|
||||||
add_extension_log "$pdo_ext" "Enabled"
|
add_extension_log "$pdo_ext" "Enabled"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user