Skip to Content

"Error: LDAP extension is not installed".

How to solve "Error: LDAP extension is not installed" while clicking ldap tab?


Overview: This article helps to resolve the "Error: LDAP extension is not installed" encountered while clicking the LDAP tab in Ezeelogin by installing the php-ldap extension on CentOS, Ubuntu (for PHP 5 and PHP 7), and Debian (for PHP 7.4).


The "Error: LDAP extension is not installed"  indicates that the php-ldap extension is missing from your server configuration. Follow these steps to install it based on your operating system:

1. Centos

root@gateway:~# yum install php-ldap

2. Ubuntu

root@gateway:~# apt-get install php5-ldap/php7-ldap

3. Debian

root@gateway:~# apt-get install php7.4-ldap

Ensure smooth LDAP functionality in Ezeelogin by installing the php-ldap extension according to your server's operating system using the steps provided above.


Related articles:

Use LDAP password as a security code while the user login.

Assigning user groups for LDAP users.

Best practice for creating users in Ezeelogin.