Centos 6/ 7下通过yum安装php7环境
删除之前的 php 版本
# yum remove php* php-common
rpm 安装 Php7 相应的 yum源
CentOS/RHEL 7.x:
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
CentOS/RHEL 6.x:
# rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum安装php7
# yum install php70w php70w-opcache
如果之前已经安装我们先卸载一下
yum -y remove php*
由于linux的yum源不存在php7.x,所以我们要更改yum源
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum 安装php72w和各种拓展,选自己需要的即可
yum -y install php72w php72w-cli php72w-common php72w-fpm php72w-devel php72w-embedded php72w-fpm php72w-gd php72w-mbstring php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml
评论列表
匿名
order retin gel without prescription <a href="https://buytadalisp.com/">order tadalafil 10mg online cheap</a> avanafil 200mg ca
2023-02-05 13:56:04
匿名
deltasone 40mg usa <a href="https://gaprednisone.com/">order deltasone 10mg sale</a> buy mebendazole online cheap
2023-02-04 04:54:37
匿名
fildena 100mg pill <a href="https://efildenamed.com/">order fildena 50mg sale</a> purchase rhinocort pills
2023-02-04 00:00:25
匿名
buy lasix 100mg generic <a href="https://edoxycyclinep.com/">doxycycline 200mg price</a> plaquenil 400mg usa
2023-02-02 10:04:54
匿名
casinos online <a href="https://gastromectol.com/">buy stromectol pills</a> buy provigil 200mg without prescription
2023-02-02 06:01:00