Added 'View LDAP log from web as admin', better error detection and check if LDAP is enabled in PHP