Skip to main content

What does it mean /bin/sh: wp: command not found inside a log file?

Comments

1 comment

  • mtindor

    So you are really saying:

    You are looking in some log file (you didn't specify which one), and it stated "/bin/sh: wp: command not found"

    Is that correct?   Sounds like something is probably looking for WP-CLI and cannot find it.  Usually when you install WP-CLI on a server, you end up shortening it to"wp".   And thus the wp command isn't found.  It's not in the default path.   For instance, usually one might install it in /usr/local/bin/wp, since /usr/local/bin is part of your PATH normally.

     

    1

Please sign in to leave a comment.