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

Last updated: January 24,2025

1. Install "php-http" package

In this section, we are going to explain the necessary steps to install php-http on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-http

2. Uninstall "php-http" package

This guide covers the steps necessary to uninstall php-http on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php-http
Source: php-pecl-http
Priority: optional
Section: web
Installed-Size: 12
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 4.2.3-1+ubuntu18.04.1+deb.sury.org+1
Provides: php-pecl-http
Depends: php8.1-http
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-pecl-http/php-http_4.2.3-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 5484
MD5sum: 6702a8a66e25488b484b4836dfd56617
SHA1: 9307bb0410a2cd4e2a7d60d81be3e305b78a51b7
SHA256: 3e57a5c157a282074b32de79527917f7d3793d5d23f32b563bb0320f3ce1cd04
Description: PECL HTTP module for PHP Extended HTTP Support
Description-md5: 0b40d8a018799b2b33f6309d412a1f7c

Package: php-http
Architecture: amd64
Version: 3.1.0+2.6.0-4build8
Priority: optional
Section: universe/web
Source: php-pecl-http
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 608
Provides: php7.2-http
Depends: php-propro (>= 2.0.0), php-raphf (>= 2.0.0), php-common (>= 1:7.0+33~), phpapi-20170718, libc6 (>= 2.14), libcurl4 (>= 7.16.3), libevent-2.1-6 (>= 2.1.8-stable), libicu60 (>= 60.1-1~), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.0)
Breaks: php-pecl-http (<< 3.0.1-0.1~), php-pecl-http-dev (<< 3.0.1-0.1~)
Replaces: php-pecl-http (<< 3.0.1-0.1~), php-pecl-http-dev (<< 3.0.1-0.1~)
Filename: pool/universe/p/php-pecl-http/php-http_3.1.0+2.6.0-4build8_amd64.deb
Size: 163028
MD5sum: 100946fadf4be6c396384f445ddcc5cb
SHA1: f84bba70e7e1f5d81f130dadf93efe67b19488d9
SHA256: 7c569d3d4f050c682462e09cf64b4216a7e54254c9643d122e297f24fa006923
Homepage: http://pecl.php.net/package/pecl_http
Description: PECL HTTP module for PHP Extended HTTP Support
Description-md5: 0b40d8a018799b2b33f6309d412a1f7c