Prerequisites: SSH access to WordPress host server WP-CLI installed on server src
Tag: wp-cli
Categories
WP-CLI PHP Version
Issue phpinfo() via browser reports a different version of PHP than wp —info or php -v reports in cli. Reason The CLI version of PHP is found via the $PATH variable, where as the browser version is being found by Apache config. To change the CLI version, I needed to update my $PATH to find […]