Backup and restore a WordPress option with WP-CLI
How to use WP-CLI to store a WordPress option value in a file and later restore it.
How to use WP-CLI to store a WordPress option value in a file and later restore it.
After updating PHP from 7.0 to 7.2 and installing the usual apt-get install php7.2-mysql php-mysql extensions, as well as reloading the server service apache2 reload && service mysql reload WP-CLI can still produce an error Your PHP installation appears to be missing the MySQL extension which is required by WordPress when trying to perform basic…