Adldap2 is a PHP package that provides LDAP authentication and directory management tools. The project has just released version 10.0.3, which looks like it fixes an issue in which it could try to use StartTLS over a connection that is already secured with TLS.