Support the ongoing development of Laravel.io →
Installation Configuration Packages
Last updated 2 years ago.
0

hi,

seems what is installed in your end is "mongo" extension, not "mongodb"

http://php.net/manual/en/book.mongo.php vs http://php.net/manual/en/set.mongodb.php

also the latest homestead version is using PHP7, here is how i installed it in my end:

sudo apt-get install libcurl4-openssl-dev pkg-config libssl-dev libsslcommon2-dev
pecl channel-update pecl.php.net
sudo pecl install mongodb
sudo -i
echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Siphion01 siphion01 Joined 15 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.