文章标签 ‘php’

下载:http://www.sphinxsearch.com/downloads/sphinx-0.9.8.1.tar.gzhttp://pecl.php.net/get/sphinx-0.2.0.tgz编译sphinx tar -xvf sphinx-0.9.8.1.tar.gz cd sphinx-0.9.8.1 ./configure –prefix=/usr/local/sphinx make && make install 编译libsphinxclient cd api/libsphinxclient ./configure && make && make install 编译PHP扩展 tar -xvf sphinx-0.2.0.tgz cd sphinx-0.2.0 /usr/local/php5/bin/phpize ./configure –with-php-config=/usr/local/php5/bin/php-config make && make install 修改php.ini增加extension=sphinx.so

2008年11月29日15:07 | 没有评论
分类: linux使用

如果你的系统是裸系统,请先执行以下操作: 1、设置更新源,推荐使用163.com的更新源 使用#注释掉/etc/apt/sources.list内的所有内容 #163.com for 5.0(lenny) deb http://mirrors.163.com/debian lenny main non-free contrib deb http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free deb http://mirrors.163.com/debian-security lenny/updates main contrib non-free   deb-src http://mirrors.163.com/debian lenny main non-free contrib deb-src http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian-security lenny/updates main contrib non-free 2、更新系统并安装编译器及基本的C环境 安装PCRE依赖库:apt-get install libpcre3 安装Openssl依赖库:apt-get install libssl-dev 安装MD5及SHA1等加密依赖库:apt-get install libxcrypt-dev apt-get update [...]

2008年11月25日09:54 | 没有评论
分类: linux使用

第一次编译安装apache+php过程如下:

2008年7月20日17:46 | 没有评论
分类: linux使用
标签: , ,