wordpress - Use different php.ini for wp-cli.phar in XAMPP -
i trying use wp-cli wordpress in xampp:
i downloaded wp-cli.phar wordpress directory in xampp in ubuntu 16.04
/opt/lampp/htdocs/wordpress/
prompting php wp-cli.phar
your php installation appears missing mysql extension required wordpress.
and checking info: php wp-cli.phar --info
php binary: /usr/bin/php7.0 php version: 7.0.8-0ubuntu0.16.04.2 php.ini used: /etc/php/7.0/cli/php.ini wp-cli root dir: phar://wp-cli.phar wp-cli packages dir: wp-cli global config: wp-cli project config: /opt/lampp/htdocs/wordpress/wp-cli.local.yml wp-cli version: 0.25.0
i notice i'm not using php installed inside xampp.
how can change wp-cli.phar path use php.ini in /opt/lampp/etc ?
Comments
Post a Comment