{"id":7109,"date":"2015-01-21T23:06:55","date_gmt":"2015-01-21T15:06:55","guid":{"rendered":"http:\/\/jpuyy.com\/?p=7109"},"modified":"2015-01-21T23:07:18","modified_gmt":"2015-01-21T15:07:18","slug":"php-5-3-28-ldap-extension","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=7109","title":{"rendered":"php-5.3.28\u5b89\u88c5ldap\u6269\u5c55"},"content":{"rendered":"<p>racktables \u7528\u5230\u4e86 ldap \u8ba4\u8bc1\uff0c\u5bf9\u5df2\u7ecf\u7f16\u8bd1\u597d\u7684 php-5.3.28\uff0c\u7f3a\u5c11\u8fd9\u4e2a\u6a21\u5757<\/p>\n<p>\u73b0\u5728\u9700\u8981\u52a0\u8f7d ldap.so<\/p>\n<p>\u9996\u5148\u51c6\u5907\u4f9d\u8d56\u5e93<\/p>\n<p>yum\u5b89\u88c5\u4f9d\u8d56<\/p>\n<pre>\r\nyum install -y cyrus-sasl-ldap.x86_64\r\nyum install -y openldap-devel.x86_64\r\nyum install -y openldap.x86_64\r\nyum install -y openldap-devel.i686<\/pre>\n<p>\u4e0b\u8f7d\u6e90\u7801 php-5.3.28.tar.gz<\/p>\n<pre>cd .\/ext\/ldap\r\n\/usr\/local\/php-5.3.28\/bin\/phpize\r\n.\/configure --php-config=\/usr\/local\/php-5.3.28\/bin\/php-config\r\nmake\r\nmake install<\/pre>\n<p>\u6700\u540e\u5728php.ini\u542f\u7528\u6b64\u6269\u5c55<\/p>\n<pre>extension = \"ldap.so\"<\/pre>\n<p>\u91cd\u542f php<\/p>\n","protected":false},"excerpt":{"rendered":"<p>racktables \u7528\u5230\u4e86 ldap \u8ba4\u8bc1\uff0c\u5bf9\u5df2\u7ecf\u7f16\u8bd1\u597d\u7684 php-5.3.28\uff0c\u7f3a\u5c11\u8fd9\u4e2a\u6a21\u5757 \u73b0\u5728\u9700\u8981\u52a0\u8f7d ldap.so \u9996\u5148\u51c6\u5907\u4f9d\u8d56\u5e93 yum\u5b89\u88c5\u4f9d\u8d56 yum install -y cyrus-sasl-ldap.x86_64 yum install -y openldap-devel.x86_64 yum install -y openldap.x86_64 yum install -y openldap-devel.i686 \u4e0b\u8f7d\u6e90\u7801 php-5.3.28.tar.gz cd .\/ext\/ldap \/usr\/local\/php-5.3.28\/bin\/phpize .\/configure &#8211;php-config=\/usr\/local\/php-5.3.28\/bin\/php-config make make install \u6700\u540e\u5728php.ini\u542f\u7528\u6b64\u6269\u5c55 extension = &#8220;ldap.so&#8221; \u91cd\u542f php<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-7109","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7109"}],"version-history":[{"count":1,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7109\/revisions"}],"predecessor-version":[{"id":7110,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7109\/revisions\/7110"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}