CentOS/RHEL 6/7 升级PHP版本 version 5.4 到 5.6

For CentOS/RHEL 7:

# rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
For CentOS/RHEL 6:

# rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
For CentOS/RHEL 5:

# rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm
After installing Webtatic yum repository, you have to remove the old version of php-common package. It will also delete it dependencies packages.
# yum remove php-common

yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring php56w-fpm php56w-common php56w-soap

互联网广告,网络营销,数字营销,手游推广,手机流量,国外网络广告和营销,网络推广,国外电子商务营销,国外广告联盟发布,搜索引擎优化,英文站建设,域名投资,域名停放,谷歌广告,adsense,adwords,Amazon推广,Clickbank,Yeahmobi,MobVista,Avazu