LDAP Assistance on WinXP and Apache Friends

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

LDAP Assistance on WinXP and Apache Friends

Post 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:
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Answering my own stupid questions:

Change the php.ini.

Uncomment the ldap extension

Restart apache

Yeah!


:oops: :oops:
User avatar
shoebappa
Forum Contributor
Posts: 158
Joined: Mon Jul 11, 2005 9:14 pm
Location: Norfolk, VA

Post 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.
Post Reply