473,396 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

WAMP & LDAP Extension

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:
http://www.php.net/manual/en/ldap.installation.php

The ldap section is here:

http://www.php.net/manual/en/ldap.installation.php

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
1 7433
dlite922
1,584 Expert 1GB
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,


Dan
Jan 30 '12 #2

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

Similar topics

0
by: Willis Lang | last post by:
I'm getting Access Denied error. I've had this for oci8 and I fixed it by giving IUSER read access to the entire oracle directory. For the ldap problem, I've put the ssleay and the libeay dlls...
2
by: Berislav Lopac | last post by:
I apologize for the loud subject, but I am on a very tight schedule and I simply *need* to get things going. For some reason, I can't get the LDAP extension to work on my WindowsXP/Apache...
1
by: Enigma Webmaster | last post by:
We've had an ASP running for about 9 months which returns a full listing of network users (taken directly from AD), and it has now stopped working with the following; Provider Error '80004005'....
1
by: Zeff | last post by:
Dear all, I have Typo3 (CMS) running on php4.3.11/apache2.0.54 (Windows 2003 platform). I need PHP LDAP support for importing user accounts from AD (on the Windows 2003 DC). Does someone know...
3
by: man-in-nature | last post by:
Hello, I have already read several existing posts about xsd:extension, but do not find something useful to my test case. I have one xml file and one xsd file. I can use a simple command line...
0
by: bisi | last post by:
Hello I am using php5 and trying to add users to the AD with the following php-script, but it doesnt work. Login,... works fine but I get an error: "ldap_add() : Add: Referral in...
3
by: Akkad | last post by:
hi every body. my question is : how to authenticate with LDAP server from the localhost (WAMP) ? coz when i am trying to authenticate using the same code that i have on the linux server...
3
by: thegainer | last post by:
hi all, I am new to this forum. I did some small projects in php using mysql connectivity. I used wamp for this. latform is windows XP and wamp is installed. I have no idea about LDAP. I know only...
1
by: th1982 | last post by:
I've a ticker's code like this : <?php // load SimpleXML $SECURITIES = new SimpleXMLElement('http://www.zet.com/xml/TableDt.xml', null, true); echo <<<EOF <marquee bgcolor="#333333"...
1
by: sbettadpur | last post by:
hello i have problem with connecting to LDAP.... it means i have user created on server(192.168.0.35), if i try using user called srinath this type error i am receiving..........show below...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.