首先安装 php-devel
- yum install php-devel
- 报错出现
Error: php56w-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
- 这个意思是说 错误:php56w-与php-common-5.4.16-45.el7.x86_64冲突 所有你要运行
- 指定安装版本
yum -y install php56w-devel