centOS 6.x 升级php 版本到 php5.6x

前端之家收集整理的这篇文章主要介绍了centOS 6.x 升级php 版本到 php5.6x前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

如果已经安装了老版 PHP,需要先删除

yum remove PHP*

开始安装

yum -y update
yum -y install epel-release
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
wget https://centos6.iuscommunity.org/ius-release.rpm
rpm -Uvh ius-release*.rpm
yum -y update
yum -y install PHP56u PHP56u-opcache PHP56u-xml PHP56u-mcrypt PHP56u-gd PHP56u-devel PHP56u-MysqL PHP56u-intl PHP56u-mbstring PHP56u-gd PHP56u-soap PHP56u-mssql

检查是否安装正确

PHP -v

重启apache

service httpd restart

http://devdocs.magento.com/gu...

原文链接:https://www.f2er.com/centos/376478.html

猜你在找的CentOS相关文章