错误而更新作曲家

问题描述:

我想在我的Symfony项目更新作曲家,我得到这个错误: enter image description here错误而更新作曲家

enter image description here

PHP版本:5.5.12

+0

composer.json中是否有重复的句子?如果不是,请更新您的问题与该文件的内容 –

+0

我更新我的问题,我删除重复在composer.json ..你可以帮我请 – devit2017

PHP -d memory_limit的= -1作曲家更新

或在php.ini

组存储器大小为-1 (不建议在共享主机上)

你可以尝试此命令:

php -d memory_limit=-1 composer update 

看看是否可行? 这是从在这里的错误消息输出的链接:

https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors

+0

我设置memory_limit为-1,但也错误:( – devit2017

+0

哪个错误,你会得到现在? –

+0

你是否也试过'作曲家自我更新命令?也许你的版本过时? –