很多刚接触linux还喜欢CentOS的小菜菜们不会编译Zend Optimizer,这里我教你如何yum install Zend Optimizer,哈哈,感谢我吧~!
然后在执行命令:yum install php-zend-optimizer 就OK啦!
你首先要下载Zend Optimizer的RPM Repository,那个东东下载之后是这样的,下面的鸡粑粑颜色的东西没啥用,也可以不看,哈哈~~~,只是记录一下~
# Name: Atomic Rocket Turtle RPM Repository for CentOS / Red Hat Enterprise Linux 5 -
# URL:
[atomic]
name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com
mirrorlist =http://www.atomicorp.com/mirrorlist/atomic/centos-5-$basearch
#mirrorlist =http://www.atomicorp.com/channels/atomic/centos/5/mirrors-atomic
enabled = 1
priority = 1
protect = 0
gpgkey =file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck = 1
# Almost Stable, release candidates for [atomic]
[atomic-testing]
name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com - (Testing)
mirrorlist =http://www.atomicorp.com/mirrorlist/atomic-testing/centos-5-$basearch
enabled = 0
priority = 1
protect = 0
gpgkey =file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
gpgcheck = 1
# Untested, Unstable, known buggy, and incomplete packages.
#[atomic-bleeding]
#name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com - (Bleeding)
#baseurl =http://www.atomicorp.com/channels/atomic-bleeding/centos/5/$basearch/
#enabled = 0
#priority = 1
#protect = 0
#gpgkey =file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
#gpgcheck = 1