473,595 Members | 2,513 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 13734
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
1627
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
2667
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
2725
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
3788
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
3735
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
2334
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
6568
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
1488
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
2862
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
7883
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
8261
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
8379
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8019
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8251
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5839
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
3873
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
3911
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1490
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.