How to Install and Uninstall php7.2-http Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: July 05,2024

1. Install "php7.2-http" package

Please follow the steps below to install php7.2-http on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.2-http

2. Uninstall "php7.2-http" package

This tutorial shows how to uninstall php7.2-http on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php7.2-http $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-http package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.2-http
Source: php-pecl-http-3
Priority: optional
Section: web
Installed-Size: 644
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:3.2.4-1+ubuntu20.04.1+deb.sury.org+2
Replaces: php-http (<< 1:3.2.4-1+ubuntu20.04.1+deb.sury.org+2~)
Provides: php-http, php-pecl-http
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.14), libcurl4 (>= 7.16.3), libevent-2.1-7 (>= 2.1.8-stable), libicu66 (>= 66.1-1~), libidn2-0 (>= 0.6), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.0)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-http (<< 1:3.2.4-1+ubuntu20.04.1+deb.sury.org+2~)
Filename: pool/main/p/php-pecl-http-3/php7.2-http_3.2.4-1+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 169140
MD5sum: ac2ccd5dc27d971be6cb51bc30410fcf
SHA1: 04714c24e1aade07648aa528b22d2eccb9451bb2
SHA256: c34250c00ab70ed433b921f4fcca3fab5ebd6171283c68958345fb46401a91ac
Description: PECL HTTP module for PHP Extended HTTP Support
Description-md5: 0b40d8a018799b2b33f6309d412a1f7c