Author Topic: Calendar Problem  (Read 4162 times)

Offline y2050

  • Jr. Member
  • **
  • Posts: 13
Re: Calendar Problem
« Reply #15 on: November 21, 2017, 04:13:07 AM »
I recomplied with no success.
Should I copy dll from somewhere to server?

Code: [Select]
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: [Select]
# rpm -qa | egrep "(ldap)"
openldap-2.4.40-16.el6.x86_64
« Last Edit: November 21, 2017, 04:24:55 AM by y2050 »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,502
    • http://SKaero.com/
Re: Calendar Problem
« Reply #16 on: November 21, 2017, 10:52:59 AM »
What OS are you running?

Offline y2050

  • Jr. Member
  • **
  • Posts: 13
Re: Calendar Problem
« Reply #17 on: November 23, 2017, 02:06:12 AM »
Its CentOS-6-64bit, and I dont know why its looking for dll file!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,502
    • http://SKaero.com/
Re: Calendar Problem
« Reply #18 on: November 23, 2017, 02:41:02 PM »
Have you installed php-ldap?

Offline y2050

  • Jr. Member
  • **
  • Posts: 13
Re: Calendar Problem
« Reply #19 on: November 25, 2017, 10:09:08 AM »
I guess yes:
Code: [Select]
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:
Code: [Select]
# 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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,502
    • http://SKaero.com/
Re: Calendar Problem
« Reply #20 on: November 25, 2017, 02:31:55 PM »
There is a "php-ldap" package that has the module for php, you need to install it.

Offline y2050

  • Jr. Member
  • **
  • Posts: 13
Re: Calendar Problem
« Reply #21 on: November 26, 2017, 07:02:36 AM »
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:
Code: [Select]
# 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
« Last Edit: November 26, 2017, 07:57:23 AM by y2050 »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,502
    • http://SKaero.com/
Re: Calendar Problem
« Reply #22 on: November 27, 2017, 01:28:12 AM »
If you added the php_ldap.dll manually you should remove it since it clearly pointing to a file that doesn't exist.

Offline y2050

  • Jr. Member
  • **
  • Posts: 13
Re: Calendar Problem
« Reply #23 on: November 27, 2017, 08:44:17 AM »
No I didnt add, there is no file in this path.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,502
    • http://SKaero.com/
Re: Calendar Problem
« Reply #24 on: November 27, 2017, 02:02:10 PM »
Then find where "no-debug-non-zts-20131226/php_ldap.dll" is referenced in your php.ini config and remove it.