• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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