当我尝试从亚马逊 (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html) 学习本教程时
我收到一系列错误:
Error: php56-pdo conflicts with php-pdo-5.3.29-1.8.amzn1.x86_64
Error: httpd24-tools conflicts with httpd-tools-2.2.29-1.5.amzn1.x86_64
Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.29-1.5.amzn1.x86_64
Error: php56-process conflicts with php-process-5.3.29-1.8.amzn1.x86_64
Error: php56 conflicts with php-5.3.29-1.8.amzn1.x86_64
Error: php56-xml conflicts with php-xml-5.3.29-1.8.amzn1.x86_64
Error: php56-cli conflicts with php-cli-5.3.29-1.8.amzn1.x86_64
Error: php-mysql conflicts with php56-mysqlnd-5.6.8-1.111.amzn1.x86_64
这是一个全新的 amazon linux ami,我正在逐行学习他们的教程。难道我做错了什么?
最佳答案
你应该安装php5.6版本,你正在尝试安装旧版本。
试试这个: yum 安装 php56-pdo
关于amazon-web-services - 为什么我不能在 Amazon ec2 上安装 LAMP 堆栈?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30271084/