Error configuring LDAP


New member
I am getting the following error when trying to configure AD login

Fatal error: Uncaught Error: Call to undefined function ldap_connect() in C:\xampp\htdocs\DaDaBIKLive\include\business_logic.php:0 Stack trace: #0 C:\xampp\htdocs\DaDaBIKLive\login.php(0): get_user_infos_ar_from_username_password('username', 'password', 1) #1 {main} thrown in C:\xampp\htdocs\DaDaBIKLive\include\business_logic.php on line 0

I've double checked the settings I have and they don't seem to work.

System info​

PHP Version: 7.4.29

sqlserver version: 15.00.4261

Web server: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/7.4.29

Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/108.0.1462.76

URL installation: http://localhost/DaDaBIKLive/


New member
Now I have this error.

Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in C:\xampp\htdocs\DaDaBIKLive\include\business_logic.php on line 0
[10 ]Error during ldap connection


Staff member
Probably at least one of the LDAP parameters you set in config_custom.php is wrong.


New member
Do you have support for LDAPS? I wonder if that is what is causing our issue. I have double checked all of our AD Connection information and it looks correct.