php5-cli using bash, but Wordpress is using XAMPP's PHP 7 install. I've added
/mnt/c/xampp/php to the PATH, and I've explicitly used
export WP_CLI_PHP='/mnt/c/xampp/php' in
But when I do
wp --info, I get:
PHP binary: /mnt/c/xampp/php/php.exe PHP version: 5.5.9-1ubuntu4.22 php.ini used: /etc/php5/cli/php.ini
PHP binary seems correct, but the last two variables refer to PHP 5.