How to install php-ldap on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
A module for PHP applications that use LDAP
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| RHEL 6 | Base | 5.3.3 |
Description
The php-ldap package is a dynamic shared object (DSO) for the Apache Web server that adds Lightweight Directory Access Protocol (LDAP) support to PHP. LDAP is a set of protocols for accessing directory services over the Internet. PHP is an HTML-embedded scripting language. If you need LDAP support for PHP applications, you will need to install this package in addition to the php package.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
php-ldap on CentOS / RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install php-ldap
Package downloads require an active GetPageSpeed subscription — one repository for php-ldap and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install php-ldap on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php-ldap package with your system package manager.
Which Enterprise Linux versions is php-ldap available for?
php-ldap is available for RHEL 6.