Centos7升級PHP7.2穩定版

 1,448 total views,  2 views today

今天嘗試了升級都失敗,後來終於不小心升級成功。

首先移除舊版

yum remove php71w-fpm php71w* mod_php71w

先更新yum repository

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

安裝 php 7.2

yum install --skip-broken --enablerepo=webtatic-testing php72w-fpm php72w* composer mod_php72w

 

發表迴響

%d 位部落客按了讚: