How to install php-pecl-solr2 in CentOS/RHEL 10 (x86_64)

Object oriented API to Apache Solr

License: PHP-3.01 Vendor: GetPageSpeed LLC https://github.com/php/pecl-search_engine-solr

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php-pecl-solr2

Description

It effectively simplifies the process of interacting with Apache Solr using PHP5 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. Documentation: https://php.net/solr Package built for PHP 8.5.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-pecl-solr2-2.9.3-1.1.el10.gps.x86_64 133 KiB 2026-11-09 GetPageSpeed
- Built for GetPageSpeed repositories

Subscribe