Fix couchbase on PHP 7.2

This commit is contained in:
Shivam Mathur 2020-12-17 16:29:01 +05:30
parent ff5499165a
commit 7b44f7e007
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -32,6 +32,8 @@ add_couchbase() {
else else
if [[ ${version:?} =~ 5.6|7.[0-1] ]]; then if [[ ${version:?} =~ 5.6|7.[0-1] ]]; then
pecl_install couchbase-2.6.2 >/dev/null 2>&1 pecl_install couchbase-2.6.2 >/dev/null 2>&1
elif [[ ${version:?} =~ 7.2 ]]; then
pecl_install couchbase-3.0.4 >/dev/null 2>&1
else else
pecl_install couchbase >/dev/null 2>&1 pecl_install couchbase >/dev/null 2>&1
fi fi