The Lightweight Directory Access Protocol is an application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network. In this post we'll see that how we can connect to LDAP using PHP. Bais knowledge of PHP is required to understand this functionality.