How to install php-ldap on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

A module for PHP applications that use LDAP

License: PHP Vendor: GetPageSpeed LLC http://www.php.net/

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel x86_64 Version
RHEL 7 Base 5.4.45
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

Base RHEL 6, 7

php-ldap on CentOS 7 / RHEL 7

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install php-ldap

php-ldap on CentOS / RHEL 6

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install php-ldap

php-ldap: Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days.

Subscribe — from $10/mo

Frequently 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, 7.

Subscribe