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

升级php-5.6.19 和php-fpm5.6.19

时间:2016-07-05 01:02:43      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:

1、升级PHP(升级前请确定升级后不会带来不良后果,比如系统不支持某些包的问题)

#rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
#rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
#yum install yum-plugin-replace 
#yum replace php-common --replace-with=php56w-common
2、升级php-fpm
# rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# cd /etc/yum.repos.d
# curl -O http://rpms.famillecollet.com/enterprise/remi.repo
# yum install php-fpm php php-devel -y --enablerepo=remi-php56
# /usr/sbin/php-fpm -version

升级php-5.6.19 和php-fpm5.6.19

标签:

原文地址:http://www.cnblogs.com/JohannaFeng/p/5642048.html

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