lsphp can't run wp-cli, error after running: Fatal error: Uncaught Error: Undefined constant "WP_CLI\Utils\STDOUT" in phar:///opt/wp-cli.phar/vendor/wp-cli/wp-cli/php/utils.php:1198. Is lsphp running in non-cli mode? Should I use php in the same directory as lsphp to run wp-cli?
Hi i have tried several times but each time the PHP Binary and php.ini used do not relate to litespeed server. If i install the wp-cli.phar inside the wordpress directory the following output from:
php wp-cli.phar --info
is this:
OS: Linux 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14...
Hi
First, don't why but I can't post in the "Litespeed Cache Plugin For WordPress" ...
I'm using Wp cli to manage my WP installs.
So I'm using something like this to install litespeed-cache (It works fine) :
if ! $($WP_CLI plugin is-installed litespeed-cache); then
echo "Installing...