• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

How to execute wp-cli normally without toolkit?

I want to access `wp media` command but it's not avaialbe when using `plesk ext wp-toolkit --wp-cli -instance-`.
I tried install `wp` cli but I don't want to execute `wp` commands as root user.
I tried `su {username}` but it doesn't switch the user.

Please help.
 
We use this:

Code:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
/opt/plesk/php/7.4/bin/php wp-cli.phar --info
 
Back
Top