How to Install and Uninstall php-ldap Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 15,2024

1. Install "php-ldap" package

Please follow the instructions below to install php-ldap on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-ldap

2. Uninstall "php-ldap" package

This guide covers the steps necessary to uninstall php-ldap on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php-ldap package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-ldap
Architecture: all
Version: 1:7.0+35ubuntu6.1
Priority: optional
Section: php
Source: php-defaults (35ubuntu6.1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php7.0-ldap
Filename: pool/main/p/php-defaults/php-ldap_7.0+35ubuntu6.1_all.deb
Size: 1928
MD5sum: 57d0fb7f517bd28e726958c51792f767
SHA1: c8091a19538f2140133600eb79e85e7f9de27ea7
SHA256: c1f4e988d6409a225f3b03d20d274037015867eabd46077792053dc9a89e2c0e
SHA512: e601014eb1021996a5192c7823b046a2af5ecefcc36a2e39221c9019bbee0bdd4d3f6a3b3059e24c1eb7f5fe67d4a7e77ed320975c83d377ee3f96bc8069167f
Description-en: LDAP module for PHP [default]
This package provides a LDAP module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 7.0).
Description-md5: ed2c677db4147cb2db7806d59a041be5
Supported: 5y

Package: php-ldap
Priority: optional
Section: php
Installed-Size: 11
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Architecture: all
Source: php-defaults (35ubuntu6)
Version: 1:7.0+35ubuntu6
Depends: php-common, php7.0-ldap
Filename: pool/main/p/php-defaults/php-ldap_7.0+35ubuntu6_all.deb
Size: 1936
MD5sum: 942eb86a06449f26d0bef9703c7febbd
SHA1: d651bce6d808e0a4e8c3090d28bd6d517cb5cd20
SHA256: cecd05f3814470081a715adbb1ce3e0240a07628f8da15ffaa9e61bf2cfcff39
Description-en: LDAP module for PHP [default]
This package provides a LDAP module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 7.0).
Description-md5: ed2c677db4147cb2db7806d59a041be5
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y