Help installing wp-cli on centOS 7 – Server using WHM/cPanel
-
I’ve followed the instructions provided on the wp-cli.org site but I can’t seem to get the
wpcommand to run for all users.I copied the file to
/usr/local/binand renamed it to wp per the instructions. And when I’m logged in as root I can runwpfrom anywhere and it works (although it gives me the “are you sure you want to run this as root?” warning).I was under the impression that moving an executable to
/usr/local/binwould make that executable available to all users. However, when I switch to another user, I get a “command not found” error.How can I install wp-cli for all users? I want to make sure every user with SSH access can run wp-cli.
Thanks in advance!
The topic ‘Help installing wp-cli on centOS 7 – Server using WHM/cPanel’ is closed to new replies.