{"id":1655,"date":"2023-03-25T21:59:04","date_gmt":"2023-03-25T13:59:04","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1655"},"modified":"2023-04-23T21:55:20","modified_gmt":"2023-04-23T13:55:20","slug":"php-install-ldap-extension","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/25\/php-install-ldap-extension\/","title":{"rendered":"PHP\u5b89\u88c5LDAP\u6269\u5c55"},"content":{"rendered":"<h2>\u5b89\u88c5LDAP\u6269\u5c55<\/h2>\n<pre><code class=\"language-bash\"># cd soft\/php\/php-7.3.11\n# cd ext\/ldap\/\n# phpize \nConfiguring for:\nPHP Api Version:         20180731\nZend Module Api No:      20180731\nZend Extension Api No:   320180731\n# .\/configure --with-php-config=\/data\/server\/php7\/bin\/php-config --with-ldap=\/usr\/local\/openldap\n# make\n# make install\nInstalling shared extensions:     \/data\/server\/php7\/lib\/php\/extensions\/no-debug-non-zts-20180731\/<\/code><\/pre>\n<p><!-- more --><\/p>\n<h2>\u914d\u7f6eLDAP\u6269\u5c55<\/h2>\n<pre><code class=\"language-bash\"># cd \/data\/server\/php7\/etc\/\n# vim php.ini\n# killapp php-fpm\n# php-fpm<\/code><\/pre>\n<p>\u6dfb\u52a0\u6269\u5c55\uff1a<\/p>\n<pre><code>extension = ldap.so<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5LDAP\u6269\u5c55 # cd soft\/php\/php-7.3.11 # cd ext\/ldap\/ # phpi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[70,414],"class_list":["post-1655","post","type-post","status-publish","format-standard","hentry","category-devops-base","tag-ldap","tag-openldap"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1655"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1655\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}