简体   繁体   中英

Restarted droplet and got error Class 'MongoClient' not found

For some reasons I restarted Digital Ocean droplet and i got error Class 'MongoClient' not found , I'm using Laravel. Updated sudo but the same error. How to fix it?

您需要为PHP安装mongo扩展。

pecl install mongo

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