Laravel 5.4 and Mongodb 3.2 Configuration Issue
NickName:Rushabh Madhu Ask DateTime:2017-09-25T21:00:54

Laravel 5.4 and Mongodb 3.2 Configuration Issue

enter image description here

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

More about “Laravel 5.4 and Mongodb 3.2 Configuration Issue” related questions

Laravel 5.4 and Mongodb 3.2 Configuration Issue

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 Instal...

Show Detail

Laravel 5.4 and PHPBB3.2 Session

I'm using Laravel 5.4 and PHPBB3.2. I install this package: https://packalyst.com/packages/package/tohtamysh/laravel-phpbb-bridge After I configure everything I try to login but was unsuccessful. I...

Show Detail

Laravel 5.4 with mongodb 3.2 -- Failed to parse mongodb URI

/* local.ERROR: MongoDB\Driver\Exception\InvalidArgumentException: Failed to parse MongoDB URI: 'mongodb://:/'. Invalid host string in URI. in D:\Xampp\htdocs\laravel_bdna\bdna\vendor\mo...

Show Detail

How to configure Mongodb with Laravel 5.4?

I tried to install "jenssegers/laravel-mongodb" from git https://github.com/jenssegers/laravel-mongodb and all the configuration has been done. but how can I know that my Laravel project successfu...

Show Detail

laravel 5.4 page load issue in local server

I am new to laravel 5.4 and doing development on previously developed project. For installation I installed a fresh copy of laravel 5.4 using composer after that i replaced all the files except .en...

Show Detail

laravel 5.4 can't install

Upgrading laravel to 5.4 from 5.3. I was changed composer.json, when I run composer update , i got errors. composer.json: "require": { "php": ">=5.6.4", "laravel/

Show Detail

laravel 5.4 combination of Neo4j, mongodb and mysql (hybrid database)

How can I use hybrid database(neo4j, mongodb, mysql) and manage shared data between databases in laravel 5.4? Also what is best practice for such a website: A video learning website for K-12 stude...

Show Detail

laravel 5.4 migration issue

I am having a very weird issue when running php artisan migrate on a new installation of Laravel 5.4 on a local XAMPP server with php 7.1.1. What it is doing is creating a migrations and users ...

Show Detail

Laravel and MongoDB configuration not working

I'm trying to configure Laravel 5 with MongoDB by this link. Error D:\wamp\www\lfirst>composer require jenssegers/mongodb You are running composer with xdebug enabled. This has a major im...

Show Detail

Laravel 5.4 environment based config files

I am trying to change the Laravel configuration variables based on environment, but I do not know how. Code to get config is Config::get( 'contants.api_url' ); I am trying to have a separate re...

Show Detail