php7环境下安装php-devel

centos7安装php-devel使用以下命令:

yum -y install php-devel
yum -y install php70w php-devel

均会出现错误:

Error: php70w-common conflicts with php-common-5.4.16-42.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

由于我用的是php7,所以用一下命令安装:

yum install php70w-devel

你可能感兴趣的:(Linux,php7,php-devel,yum)