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 Jan 7 '18 at 10:47
  • Default memory_limit=128M. I changed memory_limit=512M in file php.ini but it was not working. @janh – Rei Jan 8 '18 at 8:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.