Home >php教程 >php手册 >Centos升级php mysql

Centos升级php mysql

WBOY
WBOYOriginal
2016-06-06 19:57:32961browse

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入 今天晚上帮同学升级了一下他Centos服务器的php和mysql,google许久终于搞定,记录一下: 运行命令:wget http://syslogserver.googlecode.com/files/epel-release-5-3.noarch.rpm wget http://centosc

欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入

  今天晚上帮同学升级了一下他Centos服务器的php和mysql,google许久终于搞定,记录一下:

  运行命令:wget http://syslogserver.googlecode.com/files/epel-release-5-3.noarch.rpm

  wget http://centoscn.googlecode.com/files/remi-release-5-7.el5.remi.noarch.rpm

  rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

  上面两处下载地址可能随时间会有变化,具体可以上http://code.google.com/p/syslogserver/downloads/list 和 http://code.google.com/p/centoscn/downloads/list 查看

  然后运行命令

  vi /etc/yum.repos.d/remi.repo

  在这个文件的最后增加一行:

  priority=1

  保存退出

  同理处理/etc/yum.repos.d/epel.repo和/etc/yum.repos.d/epel-testing.repo两个文件

  再运行命令yum --enablerepo=remi update即可升级。

Centos升级php mysql

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn