Login  |  Packages  |  Support  |  Bugs
PECL is deprecated.

Have you heard about PIE? 🥧 PHP Installer for Extensions (PIE) is the replacement for PECL. We recommend publishing your extension using PIE instead.

Find out more at https://github.com/php/pie.

Top Level :: Search Engine :: solr :: 2.10.0

solr 2.10.0

Package Information
Summary 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.
Maintainers Omar Shaban < omars at php dot net > (lead) [details]
Birgir Haraldsson (lead) [details]
License PHP License
Description It effectively simplifies the process of interacting with Apache Solr using PHP.

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.

Please consult the documentation for more details on features. Included in the source code are phpdoc stubs that enable autocomplete of Solr classes and methods in IDE during development in userland.

https://github.com/php/pecl-search_engine-solr
Homepage https://github.com/php/pecl-search_engine-solr
Release notes
Version 2.10.0
(stable)
Recommended update for all users: includes important security and stability fixes.

Features:
- Support PHP 8.6

Security & Hardening:
- Restrict class instantiation when deserializing phps and XML responses and error bodies
- Validate numeric values in XML response parsing before serialization
- Safely format server-supplied messages when throwing SolrServerException
- Enforce stricter runtime type validation across query, dismax, collapse, and extract APIs

Stability & Bug Fixes:
- Fix multiple memory safety issues and potential crashes in document merging, JSON/XML response parsing, parameter handling, and SolrObject access
- Fix crashes when parsing malformed or non-Solr XML and JSON error responses
- Fix memory leaks in XML/JSON error handling and internal document/helper routines
- Prefer the error message over the stack trace when both are returned in XML server errors
- Pass object and array arguments by value instead of by reference where mutation is not needed

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ] [ View Documentation ]

Dependencies for release 2.10.0
PHP Version: PHP version 8.6.99 or older
PHP Version: PHP 7.4.0 or newer
PEAR Package: PEAR 1.4.0 or newer
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 13:08:36 2026 UTC
Bandwidth and hardware provided by: pair Networks