How to Install and Uninstall php-http-request2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "php-http-request2" package

Learn how to install php-http-request2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-http-request2

2. Uninstall "php-http-request2" package

Please follow the instructions below to uninstall php-http-request2 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-http-request2 package on Ubuntu 21.10 (Impish Indri)

Package: php-http-request2
Architecture: all
Version: 2.3.0-1ubuntu6
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 479
Depends: php-common, php-net-url2 (>= 2.2.0), php-pear (>= 1.9.2)
Recommends: php-curl
Filename: pool/universe/p/php-http-request2/php-http-request2_2.3.0-1ubuntu6_all.deb
Size: 88180
MD5sum: a2cd115656b0409c6cd97bf4edc9a3f5
SHA1: 2709d5eb78308f08fae146a63f115839392fef6a
SHA256: 79a28016deb943751fea611ea9800205f9c3947407d3ab6eb8fdbf574d944c6b
SHA512: 0fc8b210a959761e00574cac63bf857dad688f7e8364d025e1b5779e763df9ff707d7d38e66f96915d4613107f09abef425791d6a3e1feb03798c9dfa5c8d1c7
Homepage: http://pear.php.net/package/HTTP_Request2/
Description-en: Provides an easy way to perform HTTP requests
PHP5 rewrite of HTTP_Request package (with parts of HTTP_Client). Provides
cleaner API and pluggable Adapters:
* Socket adapter, based on old HTTP_Request code,
* Curl adapter, wraps around PHP's cURL extension,
* Mock adapter, to use for testing packages dependent on HTTP_Request2.
Supports POST requests with data and file uploads, basic and digest
authentication, cookies, managing cookies across requests, proxies, gzip and
deflate encodings, redirects, monitoring the request progress with
Observers...
Description-md5: 8f2681e255f2d09f394880debb83d15e