wp cli。phar文件位于我测试wp
命令但它说这个命令不存在。
当我想看看WP-CLI 与一起安装php wp-cli.phar --info
命令,如下所示:
root@new-web-node:/var/www/vhosts/mywebsite.com/httpdocs# php wp-cli.phar --info
OS: Linux 3.13.0-141-generic #190-Ubuntu SMP Fri Jan 19 12:52:38 UTC 2018 x86_64
Shell: /bin/bash
PHP binary: /usr/bin/php5
PHP version: 5.5.9-1ubuntu4.23
php.ini used: /etc/php5/cli/php.ini
WP-CLI root dir: phar://wp-cli.phar
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /var/www/vhosts/mywebsite.com/httpdocs
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 1.5.0
怎么了?如何修复它?