PHP Startup: Unable to load dynamic library 'c:\php\ext\php_ldap.dll' - The specified module could not be found.
I get the above error message in the apache error logs when starting apache, also phpinfo does not indicate that LDAP module has been loaded.
I have chaecked the obvious, that the php_ldap.dll does exist in the path shown in the error message. I have also checked that c:\php is in my PATH environmental variable, so the system should be able to access libeay32.dll and ssleay32.dll. Just to make sure I have also tried copying those dll files to the windows system32 folder. However I still get the above error message.
Here is the configure command from phpinfo;
cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--disable-isapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet" "--with-mcrypt=static" "--disable-static-analyze"
Because there is nothing in the configure command regarding ldap, does this mean that my copy of PHP was not compiled for LDAP? (I may be on the wrong track). If so, where can I get a copy of PHP5.3 that is compiled for windows with LDAP support.