CentOS为yum添加官方源
由于centos5.4安装好后通过yum来安装php的版本是5.1.6,现在很多站点都是在5.2.x上开发的,所以我们要添加其他的yum repo
来安装Php5.2.x的版本,测试了几个非官方的repo仓库,感觉代码都不是很稳定,php版本也随时在升级。找了很久,发现centos
官方的一个test repo里面有php5.2.x,安装centos官方的rpm比较放心
1.添加yum repo php5.2.x
2.安装
完成!
转载自:http://www.gaojinbo.com/centos-yum-php5-2-x-repo%E5%AE%89%E8%A3%85%E6%96%B9%E6%B3%95.html
最后编辑: Sonic 编辑于2010/03/15 17:25
由于centos5.4安装好后通过yum来安装php的版本是5.1.6,现在很多站点都是在5.2.x上开发的,所以我们要添加其他的yum repo
来安装Php5.2.x的版本,测试了几个非官方的repo仓库,感觉代码都不是很稳定,php版本也随时在升级。找了很久,发现centos
官方的一个test repo里面有php5.2.x,安装centos官方的rpm比较放心
1.添加yum repo php5.2.x
vi /etc/yum.repos.d/CentOS-Testing.repo
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
priority=1
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
priority=1
2.安装
yum upgrade php
完成!
转载自:http://www.gaojinbo.com/centos-yum-php5-2-x-repo%E5%AE%89%E8%A3%85%E6%96%B9%E6%B3%95.html
相关日志
ubuntu桌面特效
Linux统计目录下文件个数及代码行数
修改SELinux设置,使vsftp在enforcing security enhance模式下正常运行
从Red Hat Enterprise Linux 5 server升级到CentOS 5.4
linux服务器,针对某一客户优化网速
ubuntu桌面特效
Linux统计目录下文件个数及代码行数
修改SELinux设置,使vsftp在enforcing security enhance模式下正常运行
从Red Hat Enterprise Linux 5 server升级到CentOS 5.4
linux服务器,针对某一客户优化网速
最后编辑: Sonic 编辑于2010/03/15 17:25
管理linux的后台运行程序
linux的启动进程与服务

