{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/138","repository_url":"https://api.github.com/repos/yiisoft/yii2-mongodb","labels_url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/138/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/138/events","html_url":"https://github.com/yiisoft/yii2-mongodb/issues/138","id":164516254,"number":138,"title":"Yii MongoDB ''auth fails\"\"","user":{"login":"AlexJapson","id":5379312,"avatar_url":"https://avatars.githubusercontent.com/u/5379312?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexJapson","html_url":"https://github.com/AlexJapson","followers_url":"https://api.github.com/users/AlexJapson/followers","following_url":"https://api.github.com/users/AlexJapson/following{/other_user}","gists_url":"https://api.github.com/users/AlexJapson/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexJapson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexJapson/subscriptions","organizations_url":"https://api.github.com/users/AlexJapson/orgs","repos_url":"https://api.github.com/users/AlexJapson/repos","events_url":"https://api.github.com/users/AlexJapson/events{/privacy}","received_events_url":"https://api.github.com/users/AlexJapson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-08T11:59:00Z","updated_at":"2016-07-08T12:08:46Z","closed_at":null,"body":"### Yii mongodb auth fails\r\n\r\n#### I can't connection to mongodb from yii2 \r\n\r\nWhen i want use gii with mongo i have exception \r\n![image](https://cloud.githubusercontent.com/assets/5379312/16686419/74305fbc-452b-11e6-95bd-5124240df5a6.png)\r\n\r\n#### In nginx error.log\r\n``` log\r\n2016/07/08 15:12:11 [error] 24438#0: *37 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Class 'MongoDB\\Driver\\Manager' not found in /home/alexey/www/vendor/yiisoft/yii2-mongodb/Connection.php on line 355\" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: \"GET /gii1/default/view?id=mongoDbModel HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"localhost\", referrer: \"http://localhost/gii1\"\r\n```\r\n\r\n\r\n#### In web.php\r\n``` php\r\n'mongodb' => [\r\n            'class' => '\\yii\\mongodb\\Connection',\r\n            'dsn' => 'mongodb://localhost:27017/admin'\r\n        ],\r\n```\r\n\r\n### Additional info\r\n\r\n| Q                      | A\r\n| ---------------------- | ---\r\n| Yii version            | 2.0.8\r\n| Yii MongoDB version    | 2.1\r\n| MongoDB server version | 3.2\r\n| PHP version            | 5.5.9\r\n| Operating system       | Ubuntu 14.04\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/comments/231343667","html_url":"https://github.com/yiisoft/yii2-mongodb/issues/138#issuecomment-231343667","issue_url":"https://api.github.com/repos/yiisoft/yii2-mongodb/issues/138","id":231343667,"user":{"login":"AlexJapson","id":5379312,"avatar_url":"https://avatars.githubusercontent.com/u/5379312?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexJapson","html_url":"https://github.com/AlexJapson","followers_url":"https://api.github.com/users/AlexJapson/followers","following_url":"https://api.github.com/users/AlexJapson/following{/other_user}","gists_url":"https://api.github.com/users/AlexJapson/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexJapson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexJapson/subscriptions","organizations_url":"https://api.github.com/users/AlexJapson/orgs","repos_url":"https://api.github.com/users/AlexJapson/repos","events_url":"https://api.github.com/users/AlexJapson/events{/privacy}","received_events_url":"https://api.github.com/users/AlexJapson/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T12:08:46Z","updated_at":"2016-07-08T12:08:46Z","body":"No, i have remote mongodb on my server, and i connecting `mongodb://root:mypass@mysite:27017/admin`"}}
{"actor":{"display_login":"AlexJapson"}}