2016-12-14 204 views
0

我在我的项目中运行了作曲家更新,因为我更改了电脑。而且它返回以下错误,但我不明白如何解决他们...:Laravel作曲家更新失败Ubuntu

问题1 - 请求的PHP扩展EXT-mcrypt的*从您的 系统中缺少。安装或启用PHP的mcrypt扩展。

问题2 - guzzle/guzzle v3.9.3的安装请求 - >可以通过guzzle/guzzle [v3.9.3]满足。 - guzzle/guzzle v3.9.3需要ext-curl * - >所请求的PHP扩展卷曲从您的系统中丢失。

问题3 - phpoffice/phpexcel 1.8.1的安装请求 - > phpoffice/phpexcel [1.8.1]可以满足。 - phpoffice/phpexcel 1.8.1需要ext-xml * - >请求的PHP扩展xml从系统中丢失。

问题4 - 哨兵/哨兵的安装要求1.5.0 - >哨兵/哨兵可以满足[1.5.0]。 - 哨兵/哨兵1.5.0需要ext-curl * - >请求的PHP扩展卷曲从您的系统中丢失。

问题5 - guzzle/guzzle v3.9.3需要ext-curl * - >请求的PHP扩展curl从系统中丢失。 - intercom/intercom-php v1.0.0需要guzzle/guzzle〜3.9 - >可以通过guzzle/guzzle [v3.9.3]满足。 - 对讲/对讲-php v1.0.0安装要求 - >可以通过intercom/intercom-php [v1.0.0]满足。

+0

1)http://serverfault.com/questions/488678/the-requested-php-extension-ext-mcrypt-is-missing - 从你的系统,2&4&5)http://stackoverflow.com/questions/19335305/composer-install-error-requires-ext-curl-when-its-actualy-enabled,3)http:/ /stackoverflow.com/questions/30868608/laravel-production-issue-updating-composer-with-laravel-4-1-x – joaumg

+0

我已经试过了1,命中后sudo apt-get install php5-mcrypt返回我:“E :包'php5-mcrypt'没有安装应用程序“ – Fab

+0

您使用哪个版本的PHP? – nowaja

回答

5

将最终溶液来运行该:

sudo apt-get install php5.6-mcrypt 
sudo apt-get install php5.6-curl 
sudo apt-get install php5.6-xml 
0

只要安装错过的扩展,就像作曲家报道的那样。

sudo apt-get install php-mcrypt 
sudo apt-get install php-curl 
sudo apt-get install php-xml