Install wp-cli on cPanel?
Hello,
I need to give my customers the ability to use wp-cli, how can i install on our servers?
Actually we use cloudlinux-litespeed.
Thanks
-
HI @Nabbello They should be able to use wp-cli as long as the wp-cli package is installed on the server. It should be something like the following to install it: yum install wp-cli0 -
Hi @Nabbello Can you try the following and let me know if it works for the user? /usr/local/cpanel/3rdparty/bin/wp0 -
@cPanelLauren Yes it works as user 0 -
@cPanelLauren but if i type only wp dont work, why? 0 -
You could have also created an alias but, I was unaware you were running CageFS - thanks for sharing what worked for you. 0 -
What is the solution to use on cagefs? i mean the first method 0 -
What you did should work for cagefs, without it you should have been able to just create an alias for wp -> the full path. That or a symlink in /usr/local/bin/ 0
Please sign in to leave a comment.
Comments
9 comments