jeudi 3 septembre 2020

Trying to Setup MongoDB with Laravel using Homestead

I'm using laravel 5.7 and Php 7.3. I've installed the php mongo db driver using pecl and added the extension mongodb.so to my php.ini file. I've composer installed mongodb/mongdb as well as jenssegers/mongodb. As far as I can see. I've done everything asked in all the documentation I've seen. But I still keep getting this error when I try to run the laravel app:

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class 'MongoDB\Driver\Manager' not found

Could anyone explain what could be causing this ? Kind regards



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire