LDAP problem
Posted by: eiolon (---.dia.static.qwest.net)
Date: March 01, 2013 05:46PM

I am using Wampserver 2.2

I have enabled the php_ldap.dll extension, made sure it is in the directory, but keep getting fatal error to the ldap_connection function.

I looked at php.ini and noticed it was enabled.

When I put phpinfo(); into a file and see what PHP shows, LDAP is not listed anywhere on it like it is with our production server in phpinfo. Is there anything I can do at this point?

Thanks!

Options: ReplyQuote
Re: LDAP problem
Posted by: RiggsFolly (---.as13285.net)
Date: March 01, 2013 07:44PM

To get ldap to work you have to give PHP access to 2 other dlls

These are libeay32.dll and ssleay32.dll

Unfortunately these dlls have to be in a folder that is on your system PATH for PHP to find them.
They are delivered in the c:\wamp\php\php5.x.y folder for the 32 bit system.

I am fairly sure the file names are the same i.e. lineay32 and ssleay32 even if you are running on a 64 bit system, but they will need to be compiled for 64 bit but I woudl hope that would be the case for a 64 bit wamp.

Make sure you add the fodler to the system variables and not the user variables so the PATH entry is given to all users and not just the one you are doing the change with.

Options: ReplyQuote


Sorry, only registered users may post in this forum.