简体   繁体   中英

Error installing MongoDB PHP Driver: Composer can't find Mongodb

So I'm trying to install the MongoDB driver. After I ran the following command, I get the error messages in the screenshot. Can anyone help me please?

php -c /Applications/MAMP/bin/php/php7.2.8/conf/php.ini composer.phar require mongodb/mongodb

Screenshot of output from terminal

The problem is that you are missing the PHP extension for mongodb.

See php.net mongodb driver

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM