LDAP and PHP connection failure
问题 I am trying to connect to a secure LDAP server (using LDAPs) via PHP, but I am having problems with it. I get the following error Warning: ldap_bind() [function.ldap-bind]: Unable to bind to server: Can't contact LDAP server in /var/www/test.php on line 16 I works when I try to connect without LDAPs, but it is required that I use LDAPs because I am going to be dealing with sensitive information. I am using the following code <?php // basic sequence with LDAP is connect, bind, search,