As in our experience, on a very rare situation, we were required to use Windows Active Directory or OpenLdap as our user database in WordPress. We need to enable php ldap module in XAMPP. By default this php ldap module is not enable in XAMPP as most web servers are not using ldap as their database or directory. Follow these simple steps to enable this module.
To enable php ldap module in XAMPP, find the following files and copy them.
From C:\xampp\php copy the following files to C:\Windows\system.
Find and edit C:\xampp\php\php.ini and uncomment “extension=php_ldap.dll” around line 965.
Restart XAMPP (restart Apache service) and you should now have access to the PHP LDAP functions.
You can check ldap functions enabled in ldap by clicking phpinfo() in http://localhost/xampp/.
Check out our previous post on XAMPP:
Try this and enjoy!