I had a lot of problems with this as well. Make sure you're configuring the right php.ini file. For some reason I had two of them.
This is from my phpinfo()
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\wamp\bin\apache\apache2.4.4\bin\php.ini <--- this is the one I needed to manually update
Then I dumped my php_ldap.dll file in:
C:\wamp\bin\php\php5.4.16\ext
Updated my php.ini file to load the extension
Added the PHP directory to the Windows path.
More info here:http://www.php.net/manual/en/faq.installation.php#faq.installation.addtopath
Mine looks like
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Shoreline Communications\ShoreWare Client\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\110\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;c:\wamp\bin\php\php5.4.16
Image:https://i.sstatic.net/JAoTh.png
Rebooted machine and it worked.