# How do I install ldap on CentOS 7 to enable ldap app on Nextcloud 18?

**URL:** <https://help.nextcloud.com/t/how-do-i-install-ldap-on-centos-7-to-enable-ldap-app-on-nextcloud-18/75311>\
**Category:** ℹ️ Support\
**Tags:** centos, ldap, nc18-nextcloud-hub\
**Created:** [March 26, 2020, 2:32am UTC](https://help.nextcloud.com/t/how-do-i-install-ldap-on-centos-7-to-enable-ldap-app-on-nextcloud-18/75311 "2020-03-26T02:32:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![greavette](https://help.nextcloud.com/user_avatar/help.nextcloud.com/greavette/32/16287_2.png) [@greavette](https://help.nextcloud.com/u/greavette)\
**Post date:** [March 26, 2020, 2:32am UTC](https://help.nextcloud.com/t/how-do-i-install-ldap-on-centos-7-to-enable-ldap-app-on-nextcloud-18/75311/1 "2020-03-26T02:32:48Z")

</div>

Hello Forum,

I’m following these instructions here to install Nextcloud 18 on CentOS 7:

> **[How to install NextCloud 18 server on CentOS 8.x and 7.x – Marksei](https://www.marksei.com/how-to-install-nextcloud-18-server-on-centos-7-8/)**
>
> Install NextCloud 18 on CentOS 7 and 8 today following this tutorial. NextCloud is a Dropbox-like solution for self-hosted file sharing, calendar and more.

These instructions do not include the necessary steps to install what I need to have ldap app installed on Nextcloud 18? I’ve looked in the Nextcloud Wiki and I see reference to ldap…but I’m not seeing what I need to install as in:

#yum install …

To be clear. I have a domain on another server. But I want to connect my Nextcloud 18 to that domain. What do I need to install on my CentOS 7 to enable the ldap app on Nextcloud 18?

Any advice you can provide for me would be greatly appreciated.

Thank you.

---

<div class="post-metadata">

**Author:** ![greavette](https://help.nextcloud.com/user_avatar/help.nextcloud.com/greavette/32/16287_2.png) [@greavette](https://help.nextcloud.com/u/greavette)\
**Post date:** [March 28, 2020, 2:13pm UTC](https://help.nextcloud.com/t/how-do-i-install-ldap-on-centos-7-to-enable-ldap-app-on-nextcloud-18/75311/2 "2020-03-28T14:13:29Z")

</div>

Does no one connect their local Nextcloud installed on CentOS to a domain?

If not CentOS then should I install Nextcloud on another OS (Ubuntu) to make this work?

---

<div class="post-metadata">

**Author:** ![greavette](https://help.nextcloud.com/user_avatar/help.nextcloud.com/greavette/32/16287_2.png) [@greavette](https://help.nextcloud.com/u/greavette)\
**Post date:** [April 2, 2020, 1:22pm UTC](https://help.nextcloud.com/t/how-do-i-install-ldap-on-centos-7-to-enable-ldap-app-on-nextcloud-18/75311/3 "2020-04-02T13:22:59Z")

</div>

For anyone who finds this thread useful the following seemed to solve my problem.

I then used the following command to install php ldab on my CentOS which allowed me to install ldap APP on my Nextcloud:

I first did a search of rpm to see which version of PHP I was using:

rpm -qa _php7_

This showed me that I had php72 installed.

yum install php72w-ldap.x86\_64

Cheers!

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 9:21pm UTC](https://help.nextcloud.com/t/how-do-i-install-ldap-on-centos-7-to-enable-ldap-app-on-nextcloud-18/75311/4 "2024-12-11T21:21:04Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 9:21pm UTC](https://help.nextcloud.com/t/how-do-i-install-ldap-on-centos-7-to-enable-ldap-app-on-nextcloud-18/75311/5 "2024-12-11T21:21:05Z")

</div>


