首页 > 代码库 > XCache的安装;
XCache的安装;
Xcache是一款php缓存器,用来以缓存方式提高php的执行效率;
在安装使用Xcache之前,需要了解,php的扩展模块工具phpize
phpize:用来扩展php模块,在安装扩展模块之前需要运行此文件;
来源:php-devel //有时候在安装php之后没有phpize文件,那么直接安装devel包来生成;
首先运行phpize:
[root@localhost xcache-3.2.0]# /usr/bin/phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
[root@localhost xcache-3.2.0]#
./configure --enable-xcache --with-php-config=/usr/bin/php-config
报错:
configure: error: in `/src/xcache-3.2.0‘:
configure: error: no acceptable C compiler found in $PATH
解决:
# yum install gcc //安装gcc套件;
# make && make install
XCache的安装;
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。