[root@db01 ~]# cat /etc/yum.repos.d/centos.21andy.com.repo #備注:添加如下:
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
然後:
[root@db01 ~]# yum update php
[root@db01 ~]# php -v
PHP 5.2.17 (cli) (built: Sep 1 2011 17:22:41)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
作者署名:51cto博客 IMySQL