推荐设备MORE

微信同城微信小程序—一亩田

微信同城微信小程序—一亩田

行业新闻

CentOS7迅速安裝PHP7.2

日期:2021-04-02
我要分享

变更yum源(linux的yum源不会有php7.x)

rpm -Uvh pub/epel/epel-release-latest-7.noarch.rpm

rpm -Uvh yum/el7/webtatic-release.rpm

yum安裝php72w和各种各样扩展

yum -y install php72w php72w-mon php72w-devel php72w-embedded php72w-fpm php72w-gd php72w-mbstring php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml