0

I try to install mongo in my PC (windows 7). I have wamp 2.2.11 with php 5.3.0

I follow the instruction from.

http://php.net/manual/en/mongo.installation.php#mongo.installation.windows

But it is not working with the code

$m = new MongoClient();
echo "Connection to database successfully";

Giving Fatal error: Class 'MongoClient' not found.

I have search here

MongoClient not found in WAMP

MongoDB not working with PHP on WAMP

WAMPServer Fatal error: Class 'Mongo' not found

And some other but nothing happen. I have add php_mongo.dll file at wamp\bin\php\php5.3.0\ext

And change php.ini at wamp\bin\apache\Apache2.2.11\bin

But it is not working.

Please help.

Community
  • 1
  • 1
user3419778
  • 856
  • 3
  • 8
  • 11

0 Answers0