无法在 php 版本 5.6.22 的 aws centos ec2 实例中安装 php-devel

not able to install php-devel in aws centos ec2 instance for php version 5.6.22

我尝试使用命令'sudo yum install php-devel 安装php-devel。我收到这样的错误

--> Processing Conflict: php56-cli-5.6.22-1.125.amzn1.x86_64 conflicts php-cli < 5.5.22-1.98
--> Processing Conflict: php56-common-5.6.22-1.125.amzn1.x86_64 conflicts php-common < 5.5.22-1.98
--> Processing Conflict: php56w-common-5.6.22-1.w6.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php56-cli conflicts with php-cli-5.3.29-1.8.amzn1.x86_64
Error: php56w-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我已经使用以下命令安装了 php-devel

sudo yum install php56-devel