Unable to enable PHP LDAP even though I have edited php.ini and php_ldap.dll is in the right place?
There are a few hints here: http://php.net/manual/en/ldap.installation.php . Note you need to add two other DLLs
ssleay32.dll. You may also need to compile with
I followed these instructions but still couldn't get LDAP loading in my phpinfo(). The Apache logs showed on startup the following non-fatal message:
######/php5.4.16/ext/php_ldap.dll - The specified module could not be found. in Unknown on line 0
In the end, I looked at phpinfo() again and saw that the system variable PATH was being used instead of my user variable PATH and it didn't contain the correct path to PHP's root and PHP's extension folder. Simply adding them in
####\php\php5.4.16;####\php\php5.4.16\ext; and restarting Apache, solved the problem. Hope this can help someone else out.