WordPress Import (CLI) returns Error Establishing a database connection
WordPress Import (CLI) returns Error Establishing a database connection
WordPress Import (CLI) returns Error Establishing a database connection
Bulk update published posts date randomly using wp-cli?
WP-Cli Error When Mapping Multisite Subdomain
WP-CLI: Does “wp post create” will create post normally and will ping to Ping Service?
WP-CLI Add category as menu item main-menu
POT file generated using WP-CLI does not retrieve strings from translation functions with FQN (Qualifier)
WP-CLi PHP Warning: mysqli_query(): (HY000/1356): View During Search Replace
As noted in https://github.com/wp-cli/wp-cli/issues/1754#issuecomment-91361340, I figured this one out. It turns out it wasn’t wp-cli’s fault at all. My confusion arose from the fact that I’m running a web server with nginx and php fpm, which has it’s own php.ini . wp commands run php (cli) directly on the host and so the config can … Read more
WordPress can’t write files directly most probably because user which runs PHP interpreter don’t have permission to write. Correct answer depends on what is your environment – if you are on shared hosting probably you can’t do anything about it and the only option is to set FTP credentials on wp-config.php so you won’t need … Read more
Well, nine months later I revisited the issue and it turns out my local version of php was out of date thanks to my version of MAMP being an older copy. Updated MAMP, and therefore my working PHP version, and all works splendidly now!