I’m trying to install/configure wp-cli for my WordPress website but I keep getting an error everytime I try and run a command.
I have a VPS server with Bluehost and I followed a simple installation guide but I keep getting an error related to running a command as root in which I add the --allow-root
tag but now I get the error below:
Error: Strange wp-config.php file: wp-settings.php is not loaded directly.
How can I fix this?