[php扩展的安装]sphinx扩展的安装
2015-08-21 11:36
543 查看
1、下载文件
wget http://pecl.php.net/get/sphinx-1.3.2.tgz[/code]
2、编译安装tar xzf sphinx-1.3.2.tgz phpize #或正确的phpize完整命令 ./configure
如果在执行configure命令的时候出错:configure: error: Cannot find libsphinxclient headers
那么在sphinx的安装包中有/sphinx-2.2.8-release/api/libsphinxclient/
进入到这个目录cd 你的目录/sphinx-2.2.8-release/api/libsphinxclient/
安装libsphinxclient./configure make && make install
安装完成后继续安装php的sphinx扩展,请返回刚才的路径下./configure --with-php-config=/alidata/server/php/bin/php-config make make install
到此安装成功。
相关文章推荐
- PHP修改后无法立即生效
- Zend Studio 12.5.1 导入项目方法
- ThinkPHP微信开发实例——JSSDK图像接口上传下载并将图片流写入本地
- phpstorm+Xdebug断点调试PHP
- PHP函数补完 - var_export
- Win7系统下安装Zend Studio5.5
- 安装Xcache缓存加速php及ab压力测试结果
- yii2 windows 安装过程
- Windows7上FTP服务器建立
- PHP各大第三方登录演示和下载
- php -- strpos,stripos,strrpos,strripos,strstr,strchr,stristr,strrchr
- win7 64位解决Infragistics.NetAdvantage 安装时总是提示%SystemDriver%inetpub\wwwroot错误的方法
- PHP合并数组+与array_merge的区别分析
- php:网上支付
- 关于在项目中多个类继承FragmentPagerAdapter时,改变getCount(),FC的问题解决
- ftp上传
- php内核探索系类文章
- PHP中正则表达式学习及应用(四)
- PHP遍历数组的代码,三种方法
- phpmyadmin设置登陆密码,以及修改初始化空密码