we are facing isssue in configuring Laravel 5.4 with Mongodb 3.2. We have done follow things but still we are facing issue in this project, it would be great if i will get solution for this
Installed Composer & Install Laravel 5.4
Install Package composer require mongodb/mongodb
and composer require jenssegers/mongodb ^3.2
.
we have also add mongodb in our php7.1 (http://mazau.com/info.php)
Default database driver to : mongodb (database.php and .env file)
We have also provide proper database credentials and user details.
We are not facing issue in any of above issue at present. But when we try to execute php artisan migrate
we face below error.
[Symfony\Component\Debug\Exception\FatalErrorException] Class ‘PDO’
not found
can anyone please help me on this ?
Copyright Notice:Content Author:「Rushabh Madhu」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/46405917/laravel-5-4-and-mongodb-3-2-configuration-issue