Web Application Gallery : Users
PHP php_ldap.dll not loading
Last post Mar 23, 2010 07:38 PM by interbeny
Mar 09, 2010 09:16 PMfirstname.lastname@example.org|LINK
Web Application Gallery
Mar 10, 2010 12:48 AM|don.raman|LINK
Downloaded PHP 5.2.13 extracted files and copied php_ldap.dll to ext directory. Added extension=php_ldap.dll to php.ini.
This is not the right way of enabling extension and is extremely error prone. There is a high likelihood that the ldap extension dll you extracted came from thread safe zipped installation of PHP whereas you are using non thread safe PHP. Or ldap DLL is
dependent on some other DLL which you didn't copy.
LDAP extension is very much part of PHP MSI and use PHP MSI to install it. Details at
http://blogs.iis.net/donraman/archive/2009/10/16/configuring-php-extension-on-windows-a-simple-way.aspx. This will extract all the right DLL as well as modify the php ini file. Also before following this blog delete the ldap DLL you copied and remove extension=php_ldap.dll
from php.ini file.
Mar 10, 2010 07:06 PMemail@example.com|LINK
Mar 23, 2010 07:38 PM|interbeny|LINK
This link was really helpful! Thank you!