D
D
des1roer2015-03-12 09:48:26
Yii
des1roer, 2015-03-12 09:48:26

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

2 answer(s)
D
des1roer, 2015-03-12
@des1roer

uncomment D:\open\OpenServer\userdata\config
in PHP-5.4_php.ini (or whatever php) line
extension=php_ldap.dll
false panic in general

F
FanatPHP, 2015-03-12
@FanatPHP

"No LDAP support for PHP" - can you manage to upload it to google-translate or translate it for you?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question