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
wp
command to run for all users.I copied the file to
/usr/local/bin
and renamed it to wp per the instructions. And when I’m logged in as root I can runwp
from 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/bin
would 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.