473,396 Members | 1,933 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.

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\extension\php_ldap.dll to c:\php
2. delete ; before extension=php_ldap.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 13723
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\extension\php_ldap.dll to c:\php
2. delete ; before extension=php_ldap.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
installshieldthingy?
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\extension\php_ldap.dll to c:\php
2. delete ; before extension=php_ldap.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
installshieldthingy?
The installshield-install is no good because you CANNOT use extensions.

Regards,
Erwin Moller


Jul 17 '05 #3

"Laurent" <pi***********************@free.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\extension\php_ldap.dll to c:\php
2. delete ; before extension=php_ldap.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\system32
2. copy php_ldap.dll to c:\winnt\system32
3. enable ldap_php.dll by removing ; before extension=php_ldap.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\system32\php_ldap.dll. module
not found!!

the windows path?

Thanks
Laurent
Jeroen Smaal wrote:
"Laurent" <pi***********************@free.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\extension\php_ldap.dll to c:\php
2. delete ; before extension=php_ldap.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\system32
2. copy php_ldap.dll to c:\winnt\system32
3. enable ldap_php.dll by removing ; before extension=php_ldap.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***********************@free.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\extension\php_ldap.dll to c:\php
2. delete ; before extension=php_ldap.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\system32
2. copy php_ldap.dll to c:\winnt\system32
3. enable ldap_php.dll by removing ; before extension=php_ldap.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
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:...
1
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...
1
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...
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...
1
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...
5
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...
4
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...
1
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...
1
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...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
0
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...
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
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...

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.