How to Install and Uninstall php-ldap Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 23,2024

1. Install "php-ldap" package

Please follow the guidelines below to install php-ldap on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-ldap

2. Uninstall "php-ldap" package

This tutorial shows how to uninstall php-ldap on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove php-ldap $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-ldap package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-ldap
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-ldap
Filename: pool/main/p/php-defaults/php-ldap_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7288
MD5sum: 508f4b5037e0c76db145be5cd3fc2c1c
SHA1: 05fe169bc670cb194f6c4e3aa73fa21abde989fc
SHA256: a8e81842bad043bcae2494ea426825227b6193384ba58da764828a009239eb30
Description: LDAP module for PHP [default]
Description-md5: 71a1b092057ff77f251e7f207c8eafc5

Package: php-ldap
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-ldap
Filename: pool/main/p/php-defaults/php-ldap_7.2+60ubuntu1_all.deb
Size: 2000
MD5sum: 16d5a5110bec78f01b785975fc8a885b
SHA1: 425b8af0c67f9a00c8b9131a648e43df8c6749ee
SHA256: dbc6275672926ea5d4f330a967a2838f3cfcec1c40d4e4ce7d1f22f4fd512b4a
Description: LDAP module for PHP [default]
Description-md5: 52db6919cd889ea27cf03f2d16aab5cb
Supported: 5y