通过yum安装PHP7
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
然后
yum -y install php70w-devel
报错冲突了
--> Finished Dependency Resolution
Error: php70w-common conflicts with php-common-5.4.16-43.el7_4.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
移除php-common
yum remove php-common
再次执行
yum -y install php70w-devel
成功!!!
网友评论