Skip to content

Can't run wp-cli.phar via SSH on Ionos shared hosting #5700

Answered by ihorlv
ihorlv asked this question in How do I?
Discussion options

You must be logged in to vote

@danielbachhuber
Thank you for your hint. I found the solution in the Ionos docs. The CLI version of PHP in their servers is /usr/bin/php8.0-cli
So, the correct command is /usr/bin/php8.0-cli ./wp-cli.phar

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@danielbachhuber
Comment options

Answer selected by danielbachhuber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5699 on November 17, 2022 13:50.