PHP Velho Oeste 2024

Installation

Information zur Installation dieser PECL-Erweiterung finden sie im Kapitel Installation von PECL-Erweiterungen. Zusätzliche Informationen wie neue Releases, Downloads, Quelldateien, Maintainerinformation und ein CHANGELOG finden Sie hier: » https://pecl.php.net/package/solr.

Wenn Sie Hilfe und Unterstützung benötigen, besuchen Sie bitte die Google-Gruppe für Erweiterungen. » Apache Solr PHP-Erweiterung

Windows-Binaries (DLL-Dateien) für diese PECL-Erweiterung sind auf der PECL-Website erhältlich.

Hinweis:

Das Solr-Modul kann im Debug-Modus kompiliert werden, indem man das Flag --enable-solr-debug an configure übergibt.

Bei der manuellen Erstellung ist darauf zu achten, dass die Unterstützung für curl und libxml in den Build einbezogen wird.

add a note add a note

User Contributed Notes 1 note

up
-17
regan
14 years ago
If you want to add the Solr extension to your exisiting PHP install, you need to make sure you use the same API to build the extension as was used to build PHP or you'll get errors like:

PHP Warning:  PHP Startup: solr: Unable to initialize module\nModule compiled with module API=20060613\nPHP    compiled with module API=20090626\nThese options need to match\n in Unknown on line 0

To avoid this, use your existing phpize and php-config when compiling the extension (change the '/usr/local/php5/' below to whatever your existing path is.)

/usr/local/php5/bin/phpize
./configure --with-php-config=/usr/local/php5/bin/php-config
make
make test
make install
To Top