Composer 安装语言包 报错提示 内存不足 如何解决
使用 Composer 来安装 laravel-lang
时。
执行的命令是:
composer require "overtrue/laravel-lang:~3.0"
换成: composer require "overtrue/laravel-lang"
去掉版本号也是一样的错误。
报错:
|
The following exception is caused by a lack of memory or swap, or not having
swap configured
Check https://getcomposer.org/doc/articles/troub...
led-errors for details
[ErrorException]
proc_open(): fork failed - Cannot allocate memory
这个该如何解决。
推荐文章: