我正在尝试通过运行以下命令将HWIOAuthBundle添加到我的项目中.
composer require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle
Run Code Online (Sandbox Code Playgroud)
HWIOAuthBundle github:https://github.com/hwi/HWIOAuthBundle
当我尝试运行composer时,我得到了内存不足的错误.
使用版本^ 0.6.0@dev用于hwi/oauth-bundle使用版本^ 1.2@dev用于php-http/guzzle6-adapter使用版本^ 1.10@dev用于php-http/httplug-bundle ./composer.json已更新使用包信息加载composer存储库更新依赖项(包括require-dev)
PHP致命错误:在phar:///usr/local/Cellar/composer/1.4.2/libexec/composer.phar/src/Composer/DependencyResolver/Solver中,允许的内存大小为1610612736字节(尝试分配67108864字节). php在220行
致命错误:在phar:///usr/local/Cellar/composer/1.4.2/libexec/composer.phar/src/Composer/DependencyResolver/Solver.php中,允许的内存大小为1610612736字节(尝试分配67108864字节)在220行
我尝试在我的php.ini文件中将memory_limit设置为2G但是没有用.我通过运行找到了我的php.iniphp -i | grep php.ini