note 95041 added to solr.installation
| From: | regan at osu1 dot php dot net | Date: | Thu, 10 Dec 2009 11:19:15 +0000 |
| Subject: | note 95041 added to solr.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163811@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 125.236.237.95
----
Manual Page -- http://www.php.net/manual/en/solr.installation.php
Edit -- https://master.php.net/note/edit/95041
Del: integrated -- https://master.php.net/note/delete/95041/integrated
Del: useless -- https://master.php.net/note/delete/95041/useless
Del: bad code -- https://master.php.net/note/delete/95041/bad+code
Del: spam -- https://master.php.net/note/delete/95041/spam
Del: non-english -- https://master.php.net/note/delete/95041/non-english
Del: in docs -- https://master.php.net/note/delete/95041/in+docs
Del: other reasons-- https://master.php.net/note/delete/95041
Reject -- https://master.php.net/note/reject/95041
Search -- https://master.php.net/manage/user-notes.php