Site icon Hip-Hop Website Design and Development

Configuring WP-CLI on Home windows 10

I’ve put in php5-cli utilizing bash, however WordPress is utilizing XAMPP’s PHP 7 set up. I’ve added /mnt/c/xampp/php to the PATH, and I’ve explicitly used export WP_CLI_PHP='/mnt/c/xampp/php' in .bashrc.

However once I do wp --info, I get:

PHP binary:     /mnt/c/xampp/php/php.exe
PHP model:    5.5.9-1ubuntu4.22
php.ini used:   /and many others/php5/cli/php.ini

PHP binary appears appropriate, however the final two variables seek advice from PHP 5.