Page 1 of 1

Ldap Error

Posted: 04 Jan 2008, 18:52
by skibumm101
I just copied the config setting from my old server for ldap. they are working perfectly

when i enable ldap on the new server i receive the following

LDAP Extension Not Loaded.

version 1.1.0


$g_login_method = LDAP;
$g_ldap_protocol_version = 3;
$g_ldap_server = 'ldap://server';
$g_ldap_port = '389';
$g_ldap_root_dn = 'OU=AMX Users,DC=domain,DC=domain';
$g_ldap_organization = 'myorg';
$g_ldap_uid_field = 'sAMAccountName';
$g_use_ldap_email = OFF;
$g_ldap_bind_dn = 'account';
$g_ldap_bind_passwd = 'password';

Re: Ldap Error

Posted: 07 Jan 2008, 07:39
by deboutv
PHP is not compiled with the LDAP extension. You have to enable LDAP and then recompile PHP.

Re: Ldap Error

Posted: 03 Mar 2008, 11:50
by mchicoix
my php.ini file is configured like this :
-> extension=php_ldap.dll

I restart Apache but I have always the message :

APPLICATION ERROR #1404
LDAP Extension Not Loaded.

did you have any idea ?
Regards,
Michel

Re: Ldap Error

Posted: 05 Mar 2008, 13:21
by Borszczuk
are you *sure* you really got this extension installed on this machine? On some distros extensions come in separate packages. Adding extension=... does not make it appear out of nowhere. you have to install the package. phpinfo() would tell...