laravel - 安装 composer Laravel 7 Image Intervention 时出现问题
问题描述
我想使用以下命令安装 Laravel 7 Image Intervention
composer require intervention/image
但是在安装时我收到以下三个错误
1) PHP Fatal error: Allowed memory size of 1610612736 bytes
exhausted (tried to allocate 4096 bytes)
phar://C:/xampp/htdocs/magento2/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php 在第 52 行
2)Check
https://getcomposer.org/doc/articles/troubleshooting.md#memory-
limit-errors for more info on how to handle out of memory errors.
3)Fatal error: Allowed memory size of 1610612736 bytes exhausted
(tried to allocate 4096 bytes) in phar://C:/xampp/htdocs/magento2/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
我不知道为什么会这样?如果有人有想法,请告诉我。请帮助我
解决方案
试放memory_limit = -1
在本地服务器上的 php.ini
推荐阅读
- github - 为什么当我在 GitHub 的 GraphQL API 中两次调用同一字段(使用不同的查询)时能够绕过分页
- typescript - 如何使用 Selenium WebDriver 与 createSession() 同步启动 Chrome?
- julia - Julia语言:将全局列表插入函数,更改全局列表
- haskell - 带有 HandshakeFailed 的 warp-tls 错误(Error_Misc“未找到密钥)
- android - 当我尝试使用 React native 执行项目时,出现以下问题
- python - 使用键将列表附加到字典
- c - C中switch语句的语法?
- html - 没有媒体源的 HTML5 Seekbar/媒体控件
- django - 在 Django admin 中访问命令行参数
- if-statement - Google 表格中的 IF 函数