「腾达签名」「腾达签名」

专注苹果签名难题
掉签问题一站解决

yum安装eaccelerator

现在已经习惯yum安装软件,可以用rpm就尽量用rpm包来安装,尽量不去编译.
官方的源没有eaccelerator,

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY*
yum install php-eaccelerator

执行 yum install eaccelerator 半天,都说没有这个包,后来:

[root@srv yum.repos.d]# yum search eaccelerator

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* rpmforge: apt.sw.be
* base: centos.mirrors.redwire.net
* updates: mirrors.usc.edu
* addons: mirror.nic.uoregon.edu
* extras: centos.cogentcloud.com
============================= Matched: eaccelerator ==============================
php-eaccelerator.i386 : PHP accelerator, optimizer, encoder and dynamic content
: cacher

搞定.装完就好了,什么都不要管,这比你用编译的方式方便多,也不需要设置什么目录.

vi /etc/php.d/eaccelerator.ini

配置信息都在上面.

[root@srv yum.repos.d]# php -v
PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

苹果签名www.nanti.net

企业签名www.nanti.net

超级签名www.nanti.net

TF签名www.nanti.net

本原创文章未经允许不得转载 | 当前页面:「腾达签名」 » yum安装eaccelerator

评论