Allow Root from wp-cli 2.5

export WP_CLI_ALLOW_ROOT=true

In the past on order to run wp commands from the root user we would amend `–allow-root` to the wp command. With the release of wp-cli 2.5 we may now set the new environment variable: WP_CLI_ALLOW_ROOT just once.

 export WP_CLI_ALLOW_ROOT=true

More info here https://make.wordpress.org/cli/

Let’s talk.

Send me your site and what you need. You’ll get a plain answer.

Start a project hello@sunnymorgan.com

828.414.8090