We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c34c30 commit 5f2fa66Copy full SHA for 5f2fa66
1 file changed
install-extensions.sh
@@ -28,7 +28,7 @@ install_mongo() {
28
}
29
30
install_mongodb() {
31
- php -m | grep -q mongodb || pecl install -f mongodb
+ has_extension "mongodb" || pecl install -f mongodb
32
composer require --dev alcaeus/mongo-php-adapter
33
34
0 commit comments