I wanted to try wp-cli, downloaded the phar and installed it by moving it to ~/bin which is in my path.
Then wp –info works, but maybe shows insufficient information. (e.g. no php path, though it is running, so php is there …)
Any other actions I tried so far were unsuccessful, alsways resulting in ‘no wordpress installation found’ Specifying –path or –url didn’t change anything. The result is the same for a multisite or non-multisite installation. Any ideas what could be wrong?
PHP binary:
PHP version: 5.3.27
php.ini used: /usr/local/lib/php.ini
WP-CLI root dir: phar://wp-cli.phar
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 0.14.0-alpha
(added wp --info
output)
If no
--path
is passed, WP-CLI defaults to the current directory and looks for thewp-includes/version.php
file.So, make sure that the directory you’re in has such a file: