2.升级php版本
rpm --import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
wget -P /etc/yum.repos.d/ http://repo.webtatic.com/yum/webtatic.repo
webtatic.repo里的内容:
[webtatic]
name=Webtatic Repository $releasever - $basearch
#baseurl=http://repo.webtatic.com/yum/centos/5/$basearch/
mirrorlist=http://repo.webtatic.com/yum/centos/5/$basearch/mirrorlist
enabled=0
gpgcheck=1
gpgkey=http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
[webtatic-debuginfo]
name=Webtatic Repository $releasever - $basearch - Debug
#baseurl=http://repo.webtatic.com/yum/centos/5/$basearch/debug/
mirrorlist=http://repo.webtatic.com/yum/centos/5/$basearch/debug/mirrorlist
enabled=0
gpgcheck=1
gpgkey=http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
[webtatic-source]
name=Webtatic Repository $releasever - $basearch - Source
#baseurl=http://repo.webtatic.com/yum/centos/5/SRPMS/
mirrorlist=http://repo.webtatic.com/yum/centos/5/SRPMS/mirrorlist
enabled=0
gpgcheck=1
gpgkey=http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
yum --enablerepo=webtatic update php mysql
这里说句升级php最好是连mysql一起升级,好了可以看到php已经升级成5.3.10,好了就到这里.
相关推荐
CentOS 5.5使用yum安装Apache+PHP+MySQL 一、安装centos5.5操作系统 二、系统安装 三、安装Apache+php+Mysql 四、 配置防火墙 五、安装phpMyAdmin 六、安装php的扩展 七、安装apache扩展 八、如果想升级PHP的话
CentOS 5.5 yum 搭建 Apache+PHP5+MySQL
Linux CentOS5.5 web配置
Centos5.5下安装LAMP完整版Centos5.5下安装LAMP完整版Centos5.5下安装LAMP完整版Centos5.5下安装LAMP完整版Centos5.5下安装LAMP完整版Centos5.5下安装LAMP完整版Centos5.5下安装LAMP完整版Centos5.5下安装LAMP完整版
centOS5.5下java环境配置 centOS5.5下java环境配置 centOS5.5下java环境配置
CentOS 5.5提权exp
CentOS 通过yum来升级php到php5.6
CentOS 5.5 FTP 设置 vsftpd
centos5.5下载地址 32 64
Oracle CentOS5.5 命令行
Centos5.5下Qt的安装配置
Centos5.5 DVD终于出现了。欢迎大家下载!
在虚拟机中将Centos 5.5的内核由2.6.18-194.el5升级到3.2.13,升级的时候碰到了许多的问题,有的是从网上找到的答案,有的是自己想出来的办法,给需要的朋友共享一下。
CentOS 5.5安装全过程 这个介绍的很细的。
centos 5.5 32位 下载地址
centos 5.5 32或64位 下载地址(包含32位于64位链接 亲测可用)
centos5.5中修改root密码图文并茂
centos5.5安装oracle10g: 自己写的文档,学习用的,供大家参考