-
Can't run wp-cli.phar via ssh on the https://www.ionos.com/ shared hosting.
On my desktop Debian Linux, everything works OK.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Hey @ihorlv, I'd recommend reaching out to Ionos to see if they can help resolve the issue. It seems like your WP-CLI Phar file isn't being executed by CLI SAPI. Here's a related issue: #5237 (comment) |
Beta Was this translation helpful? Give feedback.
-
@danielbachhuber |
Beta Was this translation helpful? Give feedback.
@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