Amazon Web Services - 無法在適用於 PHP 版本 5.6.22 的 AWS CentOS EC2



我试图使用命令'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

相关内容

  • 没有找到相关文章