码迷,mamicode.com
首页 > Web开发 > 详细

vultr centos x64 6.5.x 升级php7.0

时间:2016-04-11 14:16:10      阅读:413      评论:0      收藏:0      [点我收藏+]

标签:

升级前,先卸载 php5.6.x 

卸载php5.6.2 从cent 6.5.x 

需要卸载:
yum remove php56u-mysqlnd-5.6.20-1.ius.centos6.x86_64  php56u-xml-5.6.20-1.ius.centos6.x86_64   php56u-common-5.6.20-1.ius.centos6.x86_64 php56u-pecl-jsonc-1.3.9-2.ius.centos6.x86_64 php56u-pdo-5.6.20-1.ius.centos6.x86_64 php56u-mysqlnd-5.6.20-1.ius.centos6.x86_64  php56u-fpm-5.6.20-1.ius.centos6.x86_64  php56u-process-5.6.20-1.ius.centos6.x86_64 php56u-gd-5.6.20-1.ius.centos6.x86_64  php56u-cli-5.6.20-1.ius.centos6.x86_64 php56u-mcrypt-5.6.20-1.ius.centos6.x86_64  php56u-mbstring-5.6.20-1.ius.centos6.x86_64 

  添加镜像源:

  

  

rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm

  安装命令:

yum install php70w.x86_64 php70w-cli.x86_64 php70w-common.x86_64 php70w-gd.x86_64 php70w-ldap.x86_64 php70w-mbstring.x86_64 php70w-mcrypt.x86_64 php70w-mysql.x86_64 php70w-pdo.x86_64 php70w-fpm

  测试安装效果:

    技术分享

 

 

 

参考文章:http://www.blogjava.net/nkjava/archive/2015/01/20/422289.html

vultr centos x64 6.5.x 升级php7.0

标签:

原文地址:http://www.cnblogs.com/sn-dnv-aps/p/5377942.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!