473,505 Members | 14,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ldap module problem

107 New Member
Hi,

Im running Apache 2, PHP5 and mysql from an install of Apache Friends on a Windows XP machine.

Im trying to use the ldap functions but getting the following error:

Expand|Select|Wrap|Line Numbers
  1. Fatal error: Call to undefined function ldap_connect() in C:\blah blah blah

I've uncommented the "extension=php_ldap.dll" line in php.ini, php5.ini and in the php4 directory in php.ini and php4.ini

I've added c:\xampp\php to PATH environmental variable and php -m now works from anywhere and says that the ldap module is loaded.

I've copied 2 files "ssleay32.dll" and "libeay32.dll" to the system32 directory as read in another post

But i still get the same error!!!! and cant use the ldap functions


Im begining to lose the will to live!

Does anyone have any idea's whats wrong? What else I can try or how I can debug the problem?


Thanks


Andy
Aug 7 '08 #1
2 1869
Atli
5,058 Recognized Expert Expert
Have you tried restarting the Apache server?
You may even have to reboot Windows if you are messing around with system variables and DLL's.
Aug 7 '08 #2
theS70RM
107 New Member
ok thanks, just sorted this.


Apparently it doesnt use the settings from the php folder.... why would it?!

there was another php.ini in the apache directory where i needed to uncomment the module.... even though it did already say it had it loaded.


pah!

Andy
Aug 8 '08 #3

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

Similar topics

0
1586
by: MickBim | last post by:
Hi, I'm developping a module in PHP to get the users of a LDAP server and add them in a Postgre database, where normal users are too. I've managed to do this "easily" but now a new problem...
4
6557
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...
2
3564
by: Jean-Marie Vaneskahian | last post by:
Reading - Parsing Records From An LDAP LDIF File In .Net? I am in need of a .Net class that will allow for the parsing of a LDAP LDIF file. An LDIF file is the standard format for representing...
0
2305
by: heddy Boubaker | last post by:
hi, as the subject said I've pb compiling php-4.4.4 and php-5.1.6 with ldap module activated on linux debian sarge (2.6.8-3-686-smp) : - for 4.4.4 I've % /bin/sh /www/src/php-4.4.4/libtool...
3
2367
by: flit | last post by:
Hello All, I am struggling with some ldap files. I am using the csv module to work with this files (I exported the ldap to a csv file). I have this string on a field...
1
4568
by: Laszlo Nagy | last post by:
Hello, I'm using the ldap module under Windows. This is the error that I get: import ldap l = ldap.initialize("ldaps://neptunus.msnet:636")...
1
2823
by: htperth | last post by:
Hi all, Note that I'm new to LDAP and Active Directory and am writing an application that retrieves a simple phone list for all the users in our domain. So far I have the following console app...
0
1833
by: Sells, Fred | last post by:
I'm running python 2.5 (or 2.4) in an XP environment. I downloaded and installed the .dll's from OpenLDAP-2.4.8+OpenSSL-0.9.8g-Win32.zip and copied the .dll's in c:/windows/system32 as instructed...
2
6470
by: Juan | last post by:
Hi I am trying to make a simple Python script using LDAP. The module is imported OK, but when I call the function open or initialize, I get this error: Traceback (most recent call last):...
0
7216
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
7098
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
7367
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
7471
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...
1
5028
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...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
407
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.