php7.1安装

2020-02-19  本文已影响0人  henryspace

安装php源:
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 repolist enabled | grep "webtatic*"
安装php扩展源:
yum -y install php71w php71w-fpm --nogpgcheck
yum -y install php71w-common php71w-gd php71w-mcrypt php71w-mbstring --nogpgcheck
yum -y install php71w-pdo php71w-mysqlnd php71w-xml php71w-cli php71w-devel --nogpgcheck
yum -y install php71w-pecl-redis php71w-opcache --nogpgcheck

php --version
php -m

上一篇 下一篇

猜你喜欢

热点阅读