I have Apache 2.4 and php installed on Windows Server 2012.
Im trying to load the php_ldap.dll extension.
Here's what Ive done:
In php.ini I set the following:
extension_dir = "C:\php\ext"
extension=php_ldap.dll
Then, I made sure the dll was available at that path, yep, it's there:
phpinfo shows that I am editing the correct php.ini and the extension_dir is updated.
However, when I start Apache, php_ldap.dll is not loaded.
The Apache logs show this warning:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php\\ext\\php_ldap.dll' - The specified module could not be found.\r\n in Unknown on line 0
How can I fix this?
Also, what's with the \\? Why is it doubling the "\" and is that the problem?

libeay32.dllandssleay32.dll. You need to make sure so these two libraries are in yourPATH, for example underC:\Windows\System32. php.net/manual/en/ldap.installation.php