What are the proper permissions for production use of wp cli

In *nix environments, the permissions and privileges of a running executable are determined by the user who executes the program. You’ve verified this by noticing that when you run wp-cli with sudo, what it can do changes – you didn’t need to change the permissions on the executable to do this, you ran the program … Read more

Running WP-Cron on Multisite networks the right way?

After you’ve added the constant in wp-config.php defined(‘DISABLE_WP_CRON’) or define(‘DISABLE_WP_CRON’, true); WP-CLI And assuming you have your config.yml setup correctly, you can ommit the –path flag when calling cron run. wp cron event run –due-now [<hook>…] One or more hooks to run. [–due-now] Run all hooks due right now. [–all] Run all hooks. To run … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)