{"id":271,"date":"2015-11-24T15:55:18","date_gmt":"2015-11-24T07:55:18","guid":{"rendered":"http:\/\/www.codeeel.com\/?p=271"},"modified":"2015-11-24T15:55:18","modified_gmt":"2015-11-24T07:55:18","slug":"php-mongodb-%e6%89%a9%e5%b1%95%e5%ae%89%e8%a3%85%e7%bc%ba%e5%b0%91sasl-h-not-found","status":"publish","type":"post","link":"https:\/\/www.codeeel.com\/?p=271","title":{"rendered":"PHP mongoDB \u6269\u5c55\u5b89\u88c5\u7f3a\u5c11[sasl.h not found!]"},"content":{"rendered":"<pre><code>configure: error: sasl.h not found!\r\n<\/code><\/pre>\n<p>\u8fd9\u6837\u53ef\u4ee5\u89e3\u51b3:<\/p>\n<pre><code>sudo apt-get install libsasl2-dev\r\n<\/code><\/pre>\n<p>for CentOS:<\/p>\n<pre><code>yum install cyrus-sasl-devel<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>configure: error: sasl.h not found! \u8fd9\u6837\u53ef\u4ee5\u89e3\u51b3: sudo apt-get install libsasl2-dev for CentOS: yum install cyrus-sasl-devel<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,6],"tags":[94,149],"_links":{"self":[{"href":"https:\/\/www.codeeel.com\/index.php?rest_route=\/wp\/v2\/posts\/271"}],"collection":[{"href":"https:\/\/www.codeeel.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codeeel.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codeeel.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codeeel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271"}],"version-history":[{"count":1,"href":"https:\/\/www.codeeel.com\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/www.codeeel.com\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions\/272"}],"wp:attachment":[{"href":"https:\/\/www.codeeel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codeeel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codeeel.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}