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

Last updated: July 03,2024

1. Install "php8.1-http" package

This guide covers the steps necessary to install php8.1-http on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php8.1-http

2. Uninstall "php8.1-http" package

Please follow the guidance below to uninstall php8.1-http on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php8.1-http $ sudo apt autoclean && sudo apt autoremove

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

Package: php8.1-http
Source: php-pecl-http
Priority: optional
Section: web
Installed-Size: 644
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 4.2.4-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-http (<< 4.2.4-1+ubuntu20.04.1+deb.sury.org+1~)
Provides: php-http, php-pecl-http
Depends: php8.1-common, phpapi-20210902, libc6 (>= 2.14), libcurl4 (>= 7.16.3), libevent-2.1-7 (>= 2.1.8-stable), libicu66 (>= 66.1-1~), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.0)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-http (<< 4.2.4-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-pecl-http/php8.1-http_4.2.4-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 170996
MD5sum: f862a45baf66b494d0d5da634bcc9b5f
SHA1: 1476e1a466b7052f528b589762c922f7cd1f3327
SHA256: 2f023df60281f7a205f0cf15971f44644ff387215dee533d85cf234aa8277310
Description: PECL HTTP module for PHP Extended HTTP Support
Description-md5: 0b40d8a018799b2b33f6309d412a1f7c