Roundcube Community Forum

 

Calendar Problem

Started by y2050, October 18, 2017, 04:24:46 AM

Previous topic - Next topic

y2050

#15
I recomplied with no success.
Should I copy dll from somewhere to server?

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

# rpm -qa | egrep "(ldap)"
openldap-2.4.40-16.el6.x86_64


SKaero


y2050

Its CentOS-6-64bit, and I dont know why its looking for dll file!

SKaero

Have you installed php-ldap?

y2050

I guess yes:
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

But in php:
# 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


SKaero

There is a "php-ldap" package that has the module for php, you need to install it.

y2050

#21
Thanks again. I found there was a limit on yum.conf and removed exclude= php* so I installed php-ldap with yum.
But the dll problem is not solved:
# 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

SKaero

If you added the php_ldap.dll manually you should remove it since it clearly pointing to a file that doesn't exist.

y2050

No I didnt add, there is no file in this path.

SKaero

Then find where "no-debug-non-zts-20131226/php_ldap.dll" is referenced in your php.ini config and remove it.