How to Install and Uninstall php7.2-solr Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 23,2024

1. Install "php7.2-solr" package

Please follow the guidance below to install php7.2-solr on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.2-solr" package

Learn how to uninstall php7.2-solr on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.2-solr package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.2-solr
Source: php-solr
Priority: optional
Section: php
Installed-Size: 342
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.5.1+2.4.0-9+ubuntu16.04.1+deb.sury.org+1
Replaces: php-solr (<< 2.5.1+2.4.0-9+ubuntu16.04.1+deb.sury.org+1~)
Provides: php-solr
Depends: php7.2-common, php7.2-xml, php7.2-curl, libc6 (>= 2.14), libcurl3 (>= 7.16.2), libxml2 (>= 2.7.4)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-solr (<< 2.5.1+2.4.0-9+ubuntu16.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-solr/php7.2-solr_2.5.1+2.4.0-9+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 81266
MD5sum: 17e910f6dfae770d89a48be78d49ea6b
SHA1: 3c1564bf28b2f03e56f4c46b1942adc0e17b3385
SHA256: 300cfd56cdc2cbf9e3361db87f01dfc54f866842c9f3998a7ca7319df1915b98
Description-en: PHP extension for communicating with Apache Solr server
The Apache Solr PHP extension is an extremely fast, light-weight,
feature-rich library that allows PHP applications to communicate
easily and efficiently with Apache Solr server instances using an
object-oriented API.
.
It effectively simplifies the process of interacting
with Apache Solr using PHP and it already comes with built-in
readiness for the latest features.
.
The extension has features such as built-in, serializable query
string builder objects which effectively simplifies the manipulation
of name-value pair request parameters across repeated requests. The
response from the Solr server is also automatically parsed into
native php objects whose properties can be accessed as array keys or
object properties without any additional configuration on the
client-side.
.
Its advanced HTTP client reuses the same connection across multiple
requests and provides built-in support for connecting to Solr servers
secured behind HTTP Authentication or HTTP proxy servers. It is also
able to connect to SSL-enabled containers.
.
PECL Solr 2+ is only compatible with Apache Solr Server 4.0+.
Description-md5: d404cb885f81e4bef1b57c8bb1c01e9b