[Solved] Cannot activate LDAP

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
forstera
Posts: 6
Joined: Fri Jun 05, 2020 2:02 pm

[Solved] Cannot activate LDAP

Post by forstera » Sat Jun 06, 2020 1:46 pm

Hello all,
I'm working for a school and I just installed phpmyFAQ on a new centos 8 server. Everything's worfine fine. Now, I wanted to allow authentication using my ldap server. So, according to the doc, I modifed the config/ldap.php file with the informations of my ldap server and restared my apache.
In my phpmyfag config console, I can't activate the ldap option ; it renames greyed out.
Could this be due to the fact that the ldap option is not enabled for php?
if yes - sorry I'm not very php expert - do I reallay need to compile php with the ldap option or is there another way ?
Thanks to all for your help
Best Regards
Anaud
Last edited by forstera on Mon Jun 08, 2020 6:47 am, edited 1 time in total.

Thorsten
Posts: 15051
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Cannot activate LDAP

Post by Thorsten » Sun Jun 07, 2020 1:28 pm

Hi,

yes, PHP has to be compiled or bundled with LDAP, phpMyFAQ checks if the LDAP module of PHP is successfully loaded.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

forstera
Posts: 6
Joined: Fri Jun 05, 2020 2:02 pm

Re: Cannot activate LDAP

Post by forstera » Mon Jun 08, 2020 6:47 am

Hello Thorsten,
Thanks for your answer.
Yes, installing php-ldap solved my starting problem :)
Have a nice day

Post Reply