MongoDB PHP Tutorial - 1 - Driver and PHP Library Set Up

preview_player
Показать описание

📱 Follow Codevolution

A tutorial series on how to use PHP with MongoDB!

MongoDB | PHP | MongoDB PHP | PHP MongoDB | MongoDB PHP Tutorial for Beginners
Рекомендации по теме
Комментарии
Автор

try...

composer require "mongodb/mongodb=^1.0.0" --ignore-platform-reqs

hope this helps

SuperNirajpandey
Автор

thank you a lot, I was unable to setup mongoDB 3.2 with XAMPP for 3 days.. that configuration part with composer* is the key !

ibraback
Автор

Thank you so much, I've been trying to get it to work for ages, I was downloading non thread safe and it should have been thread safe

louis
Автор

I need your help as I m using php 5.6 and setup till extension setup extension=php_mongodb.dll and not doing composer setup when I restart xampp i m getting errro "the ordinal 4694 could not be located in dynamci lnk library" and on code i m getting error Class 'MongoDB\Driver\Manager' not found

EnglishWithMaster-GClasses
Автор

Very nice Sir, subscribed and also recommend it for every beginner and developer. Thanks

wajibkhan
Автор

thanks for this.. need it in my big project

HesterLiong
Автор

Thank you for the informative video sir

bharathdeshmukh
Автор

Hi, I have a text area for user input and written to a database .
I tried to read the user input from the db, but the new lines by the ENTER button are displayed
as a string ( like , , Hello \n \r world).

Can you help me?

stormtech
Автор

hello sir
I have copyed php_mongodb.dll in xampp/php/ext folder
and also added extension=php_mongodb.dll in php.ini file

but still mongodb extension in not loading, it is not showing in phpinfo().
Please help

I am runnig windows 7 64bit

harshitkudeshiya
Автор

But, when we dump, we don't get json, or xml, is there a way to do this? Because if not how should we get the values?

LukaS-txhu
Автор

hello sir
I have copyed php_mongodb.dll in xampp/php/ext folder
and also added extension=php_mongodb.dll in php.ini file
and when i run mylovalfolder>composer require "mongodb/mongodb=^1.0.0" then it show a list of errors with title


Problem 1
- mongodb/mongodb 1.4.2 require ext-mongodb^1.5.0->the requested php extions mongodb is missing from your system

idrees
Автор

I am Having issue with command, please help...
I have copyed php_mongodb.dll in xampp/php/ext folder
and also added extension=php_mongodb.dll in php.ini file
and when i run project>composer require "mongodb/mongodb=^1.0.0" then it show a list of errors with title


Problem 1
- mongodb/mongodb 1.4.2 require ext-mongodb^1.5.0->the requested php extions mongodb is missing from your system

AshokKumar-kjto
Автор

Hello Sir this video was really helpfull for me but i created second folder where i am getting this ERROR :
Warning: failed to open stream: No such file or directory in on line 3
"

abhishekkamble
Автор

When I run
composer require "mongodb/mongodb=^1.0.0"
I get
'composer' is not recognized as an internal or external command, operable program or batch file.

Anyone, plz help me out. Thanks in advance!

VivekKumar-cjjo
Автор

I am unable to install the driver on my Mac please help.

shivamtripathi
Автор

I see to not be able to use composer to install the mongodb/mongodb=^1.0.0. It tells me I need to install some ext-mongodb=^1.1.0 ... Can anyone help ? I am using WAMP, and I downloaded and set up the php-mongodb-drivers

theepicpowner
Автор

Hi Sir, Please Suggest the Code to Upload Image and Retrieve image from MongoDB using PHP

abhishekkamble
Автор

I have XAMPP with PHP 5.5.11 installed.

I followed your method to install the PHP MongoDB driver but after completing the steps and restarting my Apache, it is throwing an error "PHP Startup: Unable to load dynamic library - The specified module could not be found."

I have pasted the php_mongodb.dll in that directory.

Any clue why this is happening please? +Codevolution

neerajcoolbuddy
Автор

Hi
How to authenticate using MongoDB\Client class

shaheens
Автор

Im not able to set composer path Pls help me

divyanv