Thursday, April 12, 2012

Xampp 1.7.7, step to enable ldap module

Lately, i am into php and trying to use xampp 1.7.7.
When using ldap extension got error trying to start :-

1) edit file httpd.conf , enable the : LoadModule ldap_module modules/mod_ldap.so (OK)
2) when i enabled the extension in php.ini : error could not load module ldap.dll. When checked ldap.dll exists in the /ext.

So, try again restart xampp and got different error : unable to load  libsasl.dll
solution :-
3) copy libassl.dll to xampp\apache\bin\ (start again xampp and OK)

now i can call ldap_connect from php

No comments:

Post a Comment