473,807 Members | 2,820 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ldap support

Hello,

I would like to install ldap support on php!

Steps :

1. php.ini : extension_dir = "c:\php"
2. copy file c:\php\extensio n\php_ldap.dll to c:\php
2. delete ; before extension=php_l dap.dll

And the message returned when i'm restarting Apache Web server is :

"Unable to find module c:\php\php_ldap .dll"

Can you help me please? I don't understand why it doesn't work!!!! :-(

Thanks,
Laurent

Jul 17 '05 #1
5 13743
Laurent wrote:
Hello,

I would like to install ldap support on php!

Steps :

1. php.ini : extension_dir = "c:\php"
2. copy file c:\php\extensio n\php_ldap.dll to c:\php
2. delete ; before extension=php_l dap.dll

And the message returned when i'm restarting Apache Web server is :

"Unable to find module c:\php\php_ldap .dll"

Can you help me please? I don't understand why it doesn't work!!!! :-(

Thanks,
Laurent


Hi Laurent,
Did you install the executable by hand or did you use the
installshieldth ingy?
The installshield-install is no good because you CANNOT use extensions.

Regards,
Erwin Moller
Jul 17 '05 #2
Hello,
I have installed the php4.3.4.zip (no install.exe or setup.exe)
I configure manually php to run with Apache.

Any idea?
Thanks

Laurent

Erwin Moller wrote:
Laurent wrote:

Hello,

I would like to install ldap support on php!

Steps :

1. php.ini : extension_dir = "c:\php"
2. copy file c:\php\extensio n\php_ldap.dll to c:\php
2. delete ; before extension=php_l dap.dll

And the message returned when i'm restarting Apache Web server is :

"Unable to find module c:\php\php_ldap .dll"

Can you help me please? I don't understand why it doesn't work!!!! :-(

Thanks,
Laurent

Hi Laurent,
Did you install the executable by hand or did you use the
installshieldth ingy?
The installshield-install is no good because you CANNOT use extensions.

Regards,
Erwin Moller


Jul 17 '05 #3

"Laurent" <pi************ ***********@fre e.fr> wrote in message
news:40******** **************@ news.free.fr...
Hello,

I would like to install ldap support on php!

Steps :

1. php.ini : extension_dir = "c:\php"
2. copy file c:\php\extensio n\php_ldap.dll to c:\php
2. delete ; before extension=php_l dap.dll

And the message returned when i'm restarting Apache Web server is :

"Unable to find module c:\php\php_ldap .dll"

Can you help me please? I don't understand why it doesn't work!!!! :-(

Thanks,
Laurent


That does not work as expected. The only way I could get it to work was in
the following way:

1. extension_dir = c:\winnt\system 32
2. copy php_ldap.dll to c:\winnt\system 32
3. enable ldap_php.dll by removing ; before extension=php_l dap.dll

Then restart Apache.

Jeroen.
Jul 17 '05 #4
I try it but the message is the same :

Unable to found dynamic library c:\windows\syst em32\php_ldap.d ll. module
not found!!

the windows path?

Thanks
Laurent
Jeroen Smaal wrote:
"Laurent" <pi************ ***********@fre e.fr> wrote in message
news:40******** **************@ news.free.fr...
Hello,

I would like to install ldap support on php!

Steps :

1. php.ini : extension_dir = "c:\php"
2. copy file c:\php\extensio n\php_ldap.dll to c:\php
2. delete ; before extension=php_l dap.dll

And the message returned when i'm restarting Apache Web server is :

"Unable to find module c:\php\php_ldap .dll"

Can you help me please? I don't understand why it doesn't work!!!! :-(

Thanks,
Laurent

That does not work as expected. The only way I could get it to work was in
the following way:

1. extension_dir = c:\winnt\system 32
2. copy php_ldap.dll to c:\winnt\system 32
3. enable ldap_php.dll by removing ; before extension=php_l dap.dll

Then restart Apache.

Jeroen.


Jul 17 '05 #5
I'm under Windows XP pro and would like to run openldap and install
phpadminldap.

Jeroen Smaal wrote:
"Laurent" <pi************ ***********@fre e.fr> wrote in message
news:40******** **************@ news.free.fr...
Hello,

I would like to install ldap support on php!

Steps :

1. php.ini : extension_dir = "c:\php"
2. copy file c:\php\extensio n\php_ldap.dll to c:\php
2. delete ; before extension=php_l dap.dll

And the message returned when i'm restarting Apache Web server is :

"Unable to find module c:\php\php_ldap .dll"

Can you help me please? I don't understand why it doesn't work!!!! :-(

Thanks,
Laurent

That does not work as expected. The only way I could get it to work was in
the following way:

1. extension_dir = c:\winnt\system 32
2. copy php_ldap.dll to c:\winnt\system 32
3. enable ldap_php.dll by removing ; before extension=php_l dap.dll

Then restart Apache.

Jeroen.


Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1633
by: Luca | last post by:
Hi all. I've a problem compiling PHP (both 4.3.6 and 5 rc2) with ldap support (--with-ldap). "configure" doesn't return any error, but when I launch "make" it returns: grep: /usr/lib/libsasl2.la: No such file or directory /bin/sed: can't read /usr/lib/libsasl2.la: No such file or directory libtool: link: `/usr/lib/libsasl2.la' is not a valid libtool archive make: *** Error 1
1
2674
by: ngiven | last post by:
Dear PHP Programmers, Here is what I have: PHP Version 4.3.8 LDAP Support enabled RCS Version $Id: ldap.c,v 1.130.2.10 2004/06/01 21:05:33 iliaa Exp $ Total Links 0/unlimited API Version 2004 Vendor Name OpenLDAP
1
2731
by: R.Smits | last post by:
Hello, I'm trying to make a ldap query but I am getting a strange error. Warning: ldap_bind() expects parameter 1 to be resource, null given in home/user1/cgibin/test.php on line 10 Does anyone knows what this means. This is the code :
1
3797
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 how to enable ldap support on this running system, without having to re-install PHP -with ldap support? Many thanks,
1
3750
by: Angel | last post by:
Hello all - I have a LDAP service running on a NT4 box (not a mbr of my AD domain), I'd like to extract the users/attributes from that LDAP service and populate my AD domain with those users and attributes (the user accounts in LDAP will go into AD and the attributes for those users will go into SQL Server 2000 database). Does anyone know of a tool or how I can go about doing this? (the SQL server is a mbr of the AD domain) MS didn't...
5
2345
by: Bryan | last post by:
Hello, I have a asp.net app working with directory services on my Windows XP development machine. However when I moved the application over to our production server (Win 2000 Server) it no longer works. I use this code to try to connect to ldap: System.DirectoryServices.DirectoryEntry entry = new System.DirectoryServices.DirectoryEntry(LDAP://corp.mydomain.com,user,pass); I tried using my user name and password, the domain admin...
4
6587
by: Terry Miller | last post by:
I have DB2 V8.2 loaded on a Redhat Enterprise Linux version 3 (RHEL 3) box. RHEL is configured to talk to LDAP for authenticaton besides the local passwd file. I can verify this by executing an su to a User Id that exists in LDAP and not in the local /etc/passwd file. Also verified that the connection to LDAP is working by ssh into the box. The problem I have is when I try to connect to a local DB2 Database using a User Id and Password...
1
1499
by: Ben Eisenstein | last post by:
We currently use a PAM for local authentication, but this does not help with remote clients. I am thinking of writing an OpenLDAP plug-in. Has anyone written a userid and group plug-in against open LDAP? How has it performed? -- Ben Eisenstein DB2 LUW and z/OS IBM Certified Solutions Expert
1
2879
by: rdcapasso | last post by:
Hi all- I am wondering if it is possible to add LDAP support to an existing installation of PHP 5.2.3 on FreeBSD 4.1.0 (i.e. without recompiling PHP). All of the documentation I find either deals with enabling LDAP support with PHP under Windows or compiling PHP using the --with-ldap switch otherwise. Any help would be appreciated!
0
9720
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10626
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6879
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3854
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.