Nextcloud version : 18.0.3
Operating system and version : Ubuntu 19.10
Apache or nginx version : Apache2 2.4.41
PHP version (eg, 7.1) : 7.3
The issue you are facing:
in NextCloud Error “The library ldap is not available”
Is this the first time you’ve seen this error? : Yes
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging :
Error PHP PHP Startup: Unable to load dynamic library ‘ldap’ (tried: /usr/lib/php/20180731/ldap (/usr/lib/php/20180731/ldap: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/ldap.so (/usr/lib/php/20180731/ldap.so: cannot open shared object file: No such file or directory)) at Unknown#0
2020-04-17T13:48:00+0200
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ocadyjkvjkv3',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'cloud.ebf-frenz.de',
),
'datadirectory' => '/home/data/',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'http://cloud.ebf-frenz.de',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextclouduser',
'dbpassword' => 'NextCloudUser!',
'installed' => true,
'mail_from_address' => 'Nextcloud',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'ebf-frenz.de',
'mail_smtphost' => 'ebf-domino01.ebf-frenz.local',
'mail_smtpport' => '25',
'default_language' => 'de_DE',
'default_locale' => 'de_DE',
'force_language' => 'de',
'session_lifetime' => 1800,
'maintenance' => false,
);