Hi
I have problem to installing Kolab Calendar(for Roundcube) on CentOS 6. What I did for enable ldap is:
But I got this error:
my php.ini is in:/usr/local/lib/php.ini and for ldap I can only found (;extension=php_ldap.dll) its CentOS, why it have dll ?
As rpm show I have ldap, How is enabling ldap on php.ini for CentOS ?
I have problem to installing Kolab Calendar(for Roundcube) on CentOS 6. What I did for enable ldap is:
Code:
cd /usr/local/directadmin/custombuild
mkdir -p custom/ap2
cp -fp configure/ap2/configure.php56 custom/ap2/configure.php56
vi custom/ap2/configure.php56 (to add this):
--with-ldap=/usr \
--with-ldap-sasl=/usr
then:
./build php n
service httpd restart
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_ldap.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_ldap.dll: cannot open shared object file: No such file or directory in Unknown on line 0
Code:
# rpm -qa | egrep "(ldap|sasl)"
cyrus-sasl-devel-2.1.23-15.el6_6.2.x86_64
openldap-2.4.40-16.el6.x86_64
cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-2.1.23-15.el6_6.2.x86_64
[root@vc etc]# php -i | egrep "^(ldap|sasl)" -i
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_ldap.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_ldap.dll: cannot open shared object file: No such file or directory in Unknown on line 0
As rpm show I have ldap, How is enabling ldap on php.ini for CentOS ?