Skip to main content

Struggling with getting WP CLI working in cPanel account path

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  The first thing to check would be to see if the command is working as that user outside of the cron.  When logged into shell as your cPanel user, are you able to enter the "wp" command and get output showing the options available?

    0
  • Amit Kumar

    All right, so I ran a test for the "wp" command using login with the shell by a cPanel user, and the command seems to be functioning perfectly. It brings out pwd, options, and usage, which are all correct. There might be a conflict within the cron jobs environment. Kindly let me know if there's something more that I need to run tests for or something more that you'd recommend!

    0
  • cPRex Jurassic Moderator

    Amit Kumar - I'm not sure I understand - what issues are you seeing with your testing?

    0

Please sign in to leave a comment.