{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/48","labels_url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/48/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/48/events","html_url":"https://github.com/yiisoft/yii2-mongodb/issues/48","id":107329845,"number":48,"title":"Class 'MongoClient' not found","user":{"login":"farazsahebdel","id":5825113,"avatar_url":"https://avatars.githubusercontent.com/u/5825113?v=3","gravatar_id":"","url":"https://api.github.com/users/farazsahebdel","html_url":"https://github.com/farazsahebdel","followers_url":"https://api.github.com/users/farazsahebdel/followers","following_url":"https://api.github.com/users/farazsahebdel/following{/other_user}","gists_url":"https://api.github.com/users/farazsahebdel/gists{/gist_id}","starred_url":"https://api.github.com/users/farazsahebdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farazsahebdel/subscriptions","organizations_url":"https://api.github.com/users/farazsahebdel/orgs","repos_url":"https://api.github.com/users/farazsahebdel/repos","events_url":"https://api.github.com/users/farazsahebdel/events{/privacy}","received_events_url":"https://api.github.com/users/farazsahebdel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-19T12:22:04Z","updated_at":"2015-09-20T11:21:41Z","closed_at":"2015-09-19T21:12:48Z","body":"Hi\r\n\r\n$connection = new \\yii\\mongodb\\Connection([\r\n    'dsn' => 'mongodb://localhost:27017 ',\r\n]);\r\n$connection->open();\r\n\r\nerror Class 'MongoClient' not found"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/comments/141778479","html_url":"https://github.com/yiisoft/yii2-mongodb/issues/48#issuecomment-141778479","issue_url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/48","id":141778479,"user":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T11:21:41Z","updated_at":"2015-09-20T11:21:41Z","body":"Often console uses different `php.ini` than web. Check `phpinfo()` for mongo."}}