Answer the question
In order to leave comments, you need to log in
Yii + adLdap exception 'adLDAPException' with message 'No LDAP support for PHP?
I'm trying to connect adldap.sourceforge.net
But I'm getting exception 'adLDAPException' with message 'No LDAP support for PHP.
Platform win 7. OpenServer.
adLDAP.php and source codes were thrown into components.
//protected/config/main.php
'components' => array(
...
'ldap' => array(
'class' => 'LdapComponent',
'baseDn' => 'DC=example,DC=org', //example.org
'accountSuffix' => '@example.org',
'domainControllers' => array('dc.example.org'),
'adminUsername' => 'username',
'adminPassword'
Answer the question
In order to leave comments, you need to log in
uncomment D:\open\OpenServer\userdata\config
in PHP-5.4_php.ini (or whatever php) line
extension=php_ldap.dll
false panic in general
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question