Search code examples
phpdll

Unable to load dynamic library php_ldap.dll


I've looked at many of the previous questions, but I'm still unable to get this issue fixed. I've installed PHP Version 5.4.9 and Apache 2.4.12 in windows - 64Bit. When I start the service I get the following error :

PHP Warning:  PHP Startup: Unable to load dynamic library 'D:\app\php\ext\php_ldap.dll' - The specified module could not be found in Unknown on line 0.

The path where PHP is : D:\app\php

My extension path in php.ini is : extension_dir = D:\app\php\ext

Path where libeay32.dll and ssleay32.dll is : D:\app\php

I referred to the Questions posted in the link below :

Link 1

Link 2

Link 3

yet nothing seems to work. Appreciate any help.


Solution

  • Try copying libeay32.dll,ssleay32.dll and libeay32.dll in sysWow64 and Restart the machine. It should work.