标签:style blog class code c java
安装sphinx的php客户端
# wget -c http://pecl.php.net/get/sphinx-1.3.0.tgz # tar zxvf sphinx-1.3.0.tgz # cd sphinx-1.3.0 # phpize # ./configure --with-php-config=/usr/local/php5410/bin/php-config # make && make install
./configure的时候出错,提示checking for libsphinxclient headers in default path... not found configure: error: Cannot find libsphinxclient headers 。
找了下libsphinxclient,在/www/soft/csft-3.2.13/api/libsphinxclient,之前安装的是coreseek3.2.13版。进入该目录,重新编译
cd libsphinxclient/ ./configure make && make install
然后再次编译sphinx的php客户端就可以了
linux安装php sphinx出错,布布扣,bubuko.com
标签:style blog class code c java
原文地址:http://www.cnblogs.com/zl0372/p/sphinx_php.html