感谢你的到来
一起学习进步

magento 2 Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for m…

报错:magento 2 Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for m…

静态内容部署:


1
<span class="hljs-attr">php</span> <span class="hljs-string">-</span><span class="hljs-string">dmemory_limit</span><span class="hljs-string">=</span><span class="hljs-string">6G</span><span class="hljs-string"> bin</span><span class="hljs-string">/</span><span class="hljs-string">magento setup</span><span class="hljs-string">:</span><span class="hljs-string">static</span><span class="hljs-string">-</span><span class="hljs-string">content</span><span class="hljs-string">:</span><span class="hljs-string">deploy</span>

缓存刷新:


1
php -dmemory_limit=6G bin/magento <span class="hljs-keyword">cache</span>:<span class="hljs-keyword">flush</span>

设置升级:


1
<span class="hljs-attr">php</span> <span class="hljs-string">-</span><span class="hljs-string">dmemory_limit</span><span class="hljs-string">=</span><span class="hljs-string">6G</span><span class="hljs-string"> bin</span><span class="hljs-string">/</span><span class="hljs-string">magento setup</span><span class="hljs-string">:</span><span class="hljs-string">upgrade</span>
赞(0) 打赏
未经允许不得转载:IT起义网络科技 » magento 2 Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for m…
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

微信:345497590QQ 345497590

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏