PHP ldap_bind Can't contact LDAP server


CentOS 7 

vi /etc/openldap/ldap.confg

最後加上

TLS_REQCERT never

然後重啟

nginx, php-fpm

打完收功