0
点赞
收藏
分享

微信扫一扫

Ubuntu 12.04 Install PHP Solr extension


sudo su

Install dependencies:

apt-get install libxml2-dev libcurl4-openssl-dev

Install by pear

pear install pecl/solr

Or compile from source

cd /opt
wget http://pecl.php.net/get/solr-1.0.2.tgz
tar -xvf solr-1.0.2.tgz && cd solr-1.0.2
./configure
make
make install

举报

相关推荐

0 条评论