Installation

Des informations sur l'installation de ces extensions PECL peuvent être trouvées dans le chapitre du manuel intitulé Installation des extensions PECL. D'autres informations comme les notes sur les nouvelles versions, les téléchargements, les sources des fichiers, les informations concernant les mainteneurs ainsi qu'un CHANGELOG, peuvent être trouvées ici : » https://pecl.php.net/package/solr.

Pour de l'aide et du support, visitez le groupe google de l'extension. » Extension Apache Solr PHP

Les binaires Windows (les fichiers DLL) pour cette extension PECL sont disponibles sur le site web PECL.

Note:

Le module Solr peut être compilé en mode de déboguage en passant l'option de configuration --enable-solr-debug.

Lors d'une compilation manuelle, assurez-vous d'inclure le support curl et libxml.

add a note add a note

User Contributed Notes 1 note

up
-29
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