Recently I find there will be some issue to use composer command, which seems too slow to finish. After my investigation, I find that this problem is often related to xdebug lodaed (doesn't matter if enabled or not) in my CLI environment. We can chec
➜ yii-advanced composer update Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - yiisoft/yii2 2.0.9 requires bo
composer update运行之后,提示 PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 67108864 bytes) Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memor
Your requirements could not be resolved to an installable set of packages. 以上原因:不匹配composer.json要求的版本. 解决方案: composer可以设置忽略版本匹配, composer install --ignore-platform-reqs composer update --ignore-platform-reqs 再次执行composer命令可以正常安装包了. 原文链接:https://blog.