当我尝试从Amazon(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版本,尝试安装旧版本。

试试这个 :
百胜安装php56-pdo

08-07 13:52