允许的内存大小...字节已耗尽-php

时间:2019-12-04 04:47:53

标签: php

我正在尝试将依赖项安装到我在laraval中的现有项目之一。我已经将php.ini中的内存大小增加为2048M。但是,当我尝试使用“ composer install”时,仍然得到以下输出。谁能让我知道下一步该怎么做?我正在ubuntu 18,apache 2上运行,对于该项目,尤其是php 5.6。

PHP Fatal error:  Allowed memory size of 2147483648 bytes exhausted (tried to allocate 32 bytes) in /usr/share/php/Composer/Package/Link.php on line 60

Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 32 bytes) in /usr/share/php/Composer/Package/Link.php on line 60

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.ef-user

0 个答案:

没有答案