Error: php72w-common conflicts with php-common-5.4.16-45.el7.x86_64

yum 安装php的时候
用命令 yum -y install php-pear php-devel httpd gcc
遇到这个错误
Error: php72w-common conflicts with php-common-5.4.16-45.el7.x86_64
这个错误的详细信息
Error: php72w-common conflicts with php-common-5.4.16-45.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


输入这个命令就好了
yum -y install php-pear php-devel httpd gcc --skip-broken

你可能感兴趣的:(php扩展)