我想使用以下命令安装Laravel 7图像干预
composer require intervention/image
但是在安装时,我得到了下面的三个错误
1) PHP Fatal error: Allowed memory size of 1610612736 bytes
exhausted (tried to allocate 4096 bytes)
phar://C:/examplep/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中