Page 1 of 1

LDAP Assistance on WinXP and Apache Friends

Posted: Tue Dec 13, 2005 1:17 pm
by neophyte
Okay so according to the manual...

Note to Win32 Users: In order to enable this module on a Windows environment, you must copy several files from the DLL folder of the PHP/Win32 binary package to the SYSTEM folder of your windows machine. (Ex: C:\WINNT\SYSTEM32, or C:\WINDOWS\SYSTEM). For PHP <= 4.2.0 copy libsasl.dll, for PHP >= 4.3.0 copy libeay32.dll and ssleay32.dll to your SYSTEM folder.
So I copied libeay32.dll and ssleay32.dll to:

FROM:

C:\Program Files\xampp\php

TO:

C:\WINDOWS\system

Then I restarted Apache. But I'm not seeing any installed ldap functions.

What else do I need to do to get LDAP up and running?

I'm running PHP 5.0.5

Thanks :wink:

Posted: Tue Dec 13, 2005 2:04 pm
by neophyte
Answering my own stupid questions:

Change the php.ini.

Uncomment the ldap extension

Restart apache

Yeah!


:oops: :oops:

Posted: Tue Dec 13, 2005 6:52 pm
by shoebappa
: ) That'll do it. I'm not sure I did the part about copying those files to the Windows folder. There's an ssleay32.dll in the Apache Bin because of Apache's LDAP crap. That and maybe they assume you're running IIS on Windows... In general whenever they say copy to Windows, I copy to the Apache bin folder anyways, always seems to work. Easier to pick out what DLLs are different when there's 10 of them as opposed to the hundreds in the System32 folder.