I installed wp-cli tool on windows 7 but when I type wp --help. It noticed error "Out of memory". Pleased help me know WHY and how to fix it?

  • Check your php.ini (for cli) for memory_limit - make sure it's sufficiently high. If you don't know where it is, run phpinfo() and look at the php.ini paths that are printed.
    – janh
    Commented Jan 7, 2018 at 10:47
  • Default memory_limit=128M. I changed memory_limit=512M in file php.ini but it was not working. @janh
    – Rei
    Commented Jan 8, 2018 at 8:43


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.