admin管理员组文章数量:1317915
Please review the following commands I have issued remotely to the Bash Shell on my dedicated cPanel/WHM server:
[root@host ~]# wp cli update Success: WP-CLI is at the latest version.
Then I switched to a cPanel account (with shell access) that hosts a WordPress site:
[root@host ~]# su -l chaseland Last login: Fri Oct 30 15:17:01 MDT 2020 on pts/0
…and the --info
command does indeed work:
[chaseland@host ~]$ wp --info OS: Linux 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun > 18 16:35:19 UTC 2019 x86_64 Shell: /usr/local/cpanel/bin/jailshell PHP binary: /opt/cpanel/ea-php74/root/usr/bin/php PHP version: 7.4.11 php.ini used: /opt/cpanel/ea-php74/root/etc/php.ini WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli WP-CLI vendor dir: phar://wp-cli.phar/vendor WP_CLI phar path: /home/chaseland WP-CLI packages dir:
WP-CLI global config: WP-CLI project config:
WP-CLI version: 2.4.0
However, any other command I try to execute produces an error:
[chaseland@host ~]$ wp plugin update --all Error: This does not seem to be a WordPress installation. Pass --path=
path/to/wordpress
or runwp core download
. [chaseland@host ~]$
This is my first installation of WP CLI and am having difficulty determining what to do next.
Thank you for any assistance, Don
本文标签: wp cliOnly the WP CLI commandwp inforuns under my cPanel account
版权声明:本文标题:wp cli - Only the WP CLI command, wp --info, runs under my cPanel account 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742025242a2415418.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论