note 119214 added to class.mongodb
| From: | phornee at gmail dot com | Date: | Wed, 20 Apr 2016 10:15:45 +0000 |
| Subject: | note 119214 added to class.mongodb | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205285@lists.php.net to get a copy of this message | ||
Hello. When doing:
<?php
$m = new MongoClient(); // connect
$db = $m->selectDB("example");
?>
I am getting an error "MongoClient class not found".
I´ve verified that the mongodb extension is correctly loaded, using phpinfo();.
I´m getting out of ideas.... someone has any clue about how to solve this error?. Thank you a
lot!
----
Server IP: 72.52.91.14
Probable Submitter: 195.77.203.210
----
Manual Page -- http://php.net/manual/en/class.mongodb.php
Edit -- https://master.php.net/note/edit/119214
Del: integrated -- https://master.php.net/note/delete/119214/integrated
Del: useless -- https://master.php.net/note/delete/119214/useless
Del: bad code -- https://master.php.net/note/delete/119214/bad+code
Del: spam -- https://master.php.net/note/delete/119214/spam
Del: non-english -- https://master.php.net/note/delete/119214/non-english
Del: in docs -- https://master.php.net/note/delete/119214/in+docs
Del: other reasons-- https://master.php.net/note/delete/119214
Reject -- https://master.php.net/note/reject/119214
Search -- https://master.php.net/manage/user-notes.php