Forums | Mahara Community

Support /
EXTENSION PHP LDAP INSTALLATION CENTOS 6


Joan Forcada's profile picture
Posts: 70

21 June 2019, 21:29

I want to create a new institution with ldap authentication.

I installed it:

1. yum -y install openldap openldap-clients openldap-servers

2. service sladp stard

But when printo phpinfo.php the ldap service doesn't appear. And when we want to change the type of authentication plugin it still appears:

LDAP - Please install the PHP LDAP extension.

What do I have to do to enable the extension?

(php 7.0.33, Centos 6)

Patric Lougheed's profile picture
Posts: 97

22 June 2019, 7:39

Sounds like you are missing the LDAP extension for PHP.

yum -y install php7.0-ldap

Should fix the problem.

Joan Forcada's profile picture
Posts: 70

25 June 2019, 19:09

The php7.0-ldap package is not available. Error: nothing to do

Patric Lougheed's profile picture
Posts: 97

26 June 2019, 4:02

Not familiar with CentOS but a little reading reveals that php70w-ldap should work.

4 results