Does solr 4.6.1 work with php5?

2019-08-29 15:49发布

问题:

In the documentation of php-Apache Solr PHP extension, it is mentioned that "It is compatible with both versions 1.3 and 1.4 of Apache Solr." Does this mean that it isn't compatible with the newer versions?

回答1:

UPDATE: PECL Apache Solr extension 2.0.0b is now available at http://pecl.php.net/package/solr

The 2.x series are only for Apache Solr 4.x

Well, There are several incompatibilities with Solr Server 4.0 like commit/optimize parameters have changed + other incompatibilities. We are working on PECL Solr 2.0.0 for Solr 4+ @ https://github.com/php/pecl-search_engine-solr

It will be out soon, just need to update the documentation.



回答2:

Yes It works. I am using solr with php5. you can check this link and install as given in document



标签: php solr pecl