By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,966 Members | 2,054 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,966 IT Pros & Developers. It's quick & easy.

WAMP & LDAP Extension

P: 1
Does anyone have a How To guide on installing the LDAP extension on WAMP ?

I am trying to install it on a Windows XP Pro SP3 Machine solely as a proof of concept.

I was told to use this link:

The ldap section is here:

Here is the part that I really dont understand how and when to do :

"You will need to use the --with-ldap[=DIR] configuration option when compiling PHP to enable LDAP support."

Other than that here are the steps that I have taken:

1) I added this in the Environment Variables :

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\wamp\bin\php\php5.3.8;C:\wamp\bin\p hp\php5.3.8\ext

The last addition was made after it didn't work with the adition before that.

2)I edited the php.ini file to activate the php_ldap.dll extension and I set my extenion_dir= to c;\wamp\bin\php\php5.3.8.

Now I also notice that there is a separate php.ini file that is located in the wamp\php folder. Was this the ini file i was suppose to edit ?

3) I copied libeay32.dll and ssleay32.dll to the windows\system32 folder

Now i get some funky dyanmic library is unable to laod php_ldap.dll

I feel like throwing my computer off a cliff and burning it.

Can anyone push me in the right direction here ?

Any help would be appreciated!
Jan 30 '12 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,584
Expand|Select|Wrap|Line Numbers
  1. "You will need to use the --with-ldap[=DIR] configuration option when compiling PHP to enable LDAP support."
That's usually for Linux not Windows users to compile PHP (yes as in taking the source code and compiling the PHP software)

With windows it should be enough to include the library.

Track down your error message and you'll solve this. Remember to start Apache every time you make a change to PHP. Also not everything needs to be in C:\Windows\System32. you can just add the PHP installation directory to your PATH variable (Right Click My Computer > Properties > Advanced system settings > Environment Variables, scroll down to path and click edit. add a semicolon at the end and add the dir where php is installed)

Hope you get it done,

Jan 30 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.