Add ldap support to php