Timeline for MongoClient not working with php
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 17, 2023 at 20:07 | history | edited | CommunityBot |
replaced http://nl1.php.net with https://www.php.net
|
|
Feb 25, 2016 at 12:17 | vote | accept | Ruben | ||
Feb 25, 2016 at 12:17 | comment | added | Ruben | Ya, that worked too. Thansk a lot! .. Almost all the problem came from the fact that when doing a google search for "php mongodb", you actually get the deprecated extension (Mongo) | |
Feb 25, 2016 at 12:11 | comment | added | bartvanraaij | Ah, the client library isn't automatically included. You should install that too: php.net/manual/en/mongodb.tutorial.library.php | |
Feb 25, 2016 at 12:10 | comment | added | Ruben | I found out in the documentation you put! It should be $client = new MongoDB\Driver\Manager("mongodb://127.0.0.1:27017"); | |
Feb 25, 2016 at 12:03 | comment | added | Ruben | Now I get "Class 'MongoDB\Client' not found" =/ | |
Feb 25, 2016 at 11:58 | history | answered | bartvanraaij | CC BY-SA 3.0 |