mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 21:33:06 +07:00
Fix couchbase on PHP 7.2
This commit is contained in:
parent
ff5499165a
commit
7b44f7e007
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user