When try use this command:
php wp-cli.phar core install --url="http://example.com"
the command fails. WordPress was installed, but WP CLI complains about an invalid siteurl
and home
because I have installed WordPress inside http://example.com/project-root
.
But if I try use by alias wp
(wp core install --url="http://example.com"
) all is ok and url is valid.
What's wrong with the previous command?