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

时间:2016-07-07 11:31:44

标签: php amazon-web-services amazon-ec2 xdebug xdebug-profiler

我正在尝试使用命令'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

1 个答案:

答案 0 :(得分:1)

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

sudo yum install php56-devel