Posted on:
May 26th, 2009
This is just my notes on getting Brage working with Active Directory. When I have found a way to consistently get it working I will make sure to remove the “Work In progress”.
In order to enable LDAP support in PHP we need to make sure that the PHP directory is part of the Windows path. To do this: Right Click “My Computer” and select “Properties”.

Click “Advanced” tab and then click the “Environment Variables”.
First Click on “Path”, Then click the “Edit” button. Go to the end of the path and type “;”. After the semi-colon type “C:\xampp\php”.
Hit “OK” and “OK”.
You will have to edit the “C:\xampp\php\php.ini” file.
extension=php_ldap.dll
Open the XAMPP control panel. Stop the “Apache” service. This will take a few seconds. Once it no longer says it is started. Click “Start” to restart the service. Again this will take a few seconds for the service to toggle on.
Go to http://localhost/xampp/phpinfo.php. Search for “LDAP Support”. This page should now say it is enabled.
