Последний Roundcube, php apache все как обычно.
Создаю самый простой конфиг, ошибка при вызове LDAP
[13-Dec-2018 09:39:28 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function ldap_set_option() in C:\xampp\htdocs\vendor\kolab\net_ldap3\lib\Net\LDAP3.php:1934
Stack trace:
#0 C:\xampp\htdocs\vendor\kolab\net_ldap3\lib\Net\LDAP3.php(570): Net_LDAP3->config_set_debug(false)
#1 C:\xampp\htdocs\vendor\kolab\net_ldap3\lib\Net\LDAP3.php(561): Net_LDAP3->config_set('debug', false)
#2 C:\xampp\htdocs\program\lib\Roundcube\rcube_ldap.php(253): Net_LDAP3->config_set(Array)
#3 C:\xampp\htdocs\program\include\rcmail.php(221): rcube_ldap->__construct(Array, false, 'MAIL')
#4 C:\xampp\htdocs\program\steps\mail\autocomplete.inc(68): rcmail->get_address_book('Verisign')
#5 C:\xampp\htdocs\index.php(307): include_once('C:\\xampp\\htdocs...')
#6 {main}
thrown in C:\xampp\htdocs\vendor\kolab\net_ldap3\lib\Net\LDAP3.php on line 1934
$config['address_book_type'] = 'sql';
$config['ldap_public']['public'] = array(
'name' => 'public',
'hosts' => array('192.168.0.1'),
'port' => 389,
'user_specific' => false,
'base_dn' => 'dc=server,dc=kr',
'bind_dn' => 'cn=vmail,dc=server,dc=kr',
'bind_pass' => 'qwerty-0',
'filter' => '(objectClass=*)',
'groups' => array(
'base_dn' => 'dc=server,dc=kr',
'filter' => '(objectClass=*)'
),
);
$config['autocomplete_addressbooks'] = array('sql','public');