2017-03-16 41 views
0

我試圖在我的ec2實例(Amazon Linux AMI版本2016.09)上安裝php-fpm在Linux(Amazone ami)中安裝php-fpm無包可用錯誤

sudo yum install php-fpm返回衝突錯誤。

Error: php70-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64

所以我試圖列出可用的軟件包

sudo yum search fpm返回

php-fpm.x86_64 : PHP FastCGI Process Manager 
php54-fpm.x86_64 : PHP FastCGI Process Manager 
php55-fpm.x86_64 : PHP FastCGI Process Manager 
php56-fpm.x86_64 : PHP FastCGI Process Manager 
php70-fpm.x86_64 : PHP FastCGI Process Manager 

現在,我嘗試用php70-fpm.x86_64它沒有返回包avaliable錯誤安裝。

PHP版本:7.0.14

+0

用php-共5.3.29-1.8.amzn1.x86 [php56常見的衝突可能的複製\ _64當安裝phpmyadmin](http://stackoverflow.com/questions/42526831/php56-common-conflicts-with-php-common-5-3-29-1-8-amzn1-x86-64-when-installing -p) –

回答

1

解決問題與此命令

sudo yum install php70-fpm