{"action":"created","issue":{"url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/475","repository_url":"https://api.github.com/repos/mongodb/mongo-php-driver","labels_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/475/comments","events_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/475/events","html_url":"https://github.com/mongodb/mongo-php-driver/issues/475","id":192428608,"number":475,"title":"Undefined Symbol php_json_serializable_ce in Unknown on Line 0 (1.2.0 Release)","user":{"login":"MineSQL","id":7576958,"avatar_url":"https://avatars.githubusercontent.com/u/7576958?v=3","gravatar_id":"","url":"https://api.github.com/users/MineSQL","html_url":"https://github.com/MineSQL","followers_url":"https://api.github.com/users/MineSQL/followers","following_url":"https://api.github.com/users/MineSQL/following{/other_user}","gists_url":"https://api.github.com/users/MineSQL/gists{/gist_id}","starred_url":"https://api.github.com/users/MineSQL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MineSQL/subscriptions","organizations_url":"https://api.github.com/users/MineSQL/orgs","repos_url":"https://api.github.com/users/MineSQL/repos","events_url":"https://api.github.com/users/MineSQL/events{/privacy}","received_events_url":"https://api.github.com/users/MineSQL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-29T23:09:48Z","updated_at":"2016-11-29T23:43:54Z","closed_at":null,"body":"### Description\r\n\r\nWhen installing mongodb from pecl on debian jessie, the extension seems to install fine but is never initialized due to this error. I regularly build from pecl, but right after today's update all my build scripts broke for all my enviroments. Installing the actual extension works fine, but the extension is never loaded due to the error below.\r\n\r\n### Environment\r\n\r\nDebootstrap Debian Jessie running PHP 5.6.27 \r\n\r\n```\r\nroot@b0277afcbe10:/# php -m                                                                                                                                                                                                                 \r\nPHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mongodb.so' - /usr/lib/php5/20131226/mongodb.so: undefined symbol: php_json_serializable_ce in Unknown on line 0\r\n[PHP Modules]\r\nbcmath\r\nbz2\r\ncalendar\r\nCore\r\nctype\r\ncurl\r\ndate\r\ndba\r\ndom\r\nereg\r\nexif\r\nfileinfo\r\nfilter\r\nftp\r\ngettext\r\nhash\r\niconv\r\njson\r\nlibxml\r\nmbstring\r\nmhash\r\nmysql\r\nmysqli\r\nopenssl\r\npcntl\r\npcre\r\nPDO\r\npdo_mysql\r\nPhar\r\nposix\r\nreadline\r\nReflection\r\nsession\r\nshmop\r\nSimpleXML\r\nsoap\r\nsockets\r\nSPL\r\nstandard\r\nsysvmsg\r\nsysvsem\r\nsysvshm\r\ntokenizer\r\nwddx\r\nxdebug\r\nxml\r\nxmlreader\r\nxmlwriter\r\nxsl\r\nZend OPcache\r\nzip\r\nzlib\r\n\r\n[Zend Modules]\r\nXdebug\r\nZend OPcache\r\n\r\n```\r\n\r\n\r\n```\r\nroot@b0277afcbe10:/# php -i | grep -E 'mongodb|libmongoc|libbson'\r\nPHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mongodb.so' - /usr/lib/php5/20131226/mongodb.so: undefined symbol: php_json_serializable_ce in Unknown on line 0\r\n```\r\n\r\n\r\n### Test Script\r\n\r\nWhen trying to use the mongodb/mongodb package from Composer it throws: \r\n\r\n( ! ) Fatal error: Class 'MongoDB\\Driver\\Manager' not found in /var/www/html/vendor/mongodb/mongodb/src/Client.php on line 61\r\n"},"comment":{"url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/comments/263736955","html_url":"https://github.com/mongodb/mongo-php-driver/issues/475#issuecomment-263736955","issue_url":"https://api.github.com/repos/mongodb/mongo-php-driver/issues/475","id":263736955,"user":{"login":"MineSQL","id":7576958,"avatar_url":"https://avatars.githubusercontent.com/u/7576958?v=3","gravatar_id":"","url":"https://api.github.com/users/MineSQL","html_url":"https://github.com/MineSQL","followers_url":"https://api.github.com/users/MineSQL/followers","following_url":"https://api.github.com/users/MineSQL/following{/other_user}","gists_url":"https://api.github.com/users/MineSQL/gists{/gist_id}","starred_url":"https://api.github.com/users/MineSQL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MineSQL/subscriptions","organizations_url":"https://api.github.com/users/MineSQL/orgs","repos_url":"https://api.github.com/users/MineSQL/repos","events_url":"https://api.github.com/users/MineSQL/events{/privacy}","received_events_url":"https://api.github.com/users/MineSQL/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T23:43:54Z","updated_at":"2016-11-29T23:43:54Z","body":"Fair enough, I just figured I would document it here regardless just in case someone else runs into the issue."}}
{"actor":{"display_login":"MineSQL"}}