1

I want to run the following command in SSH:

/usr/local/bin/php -f /home/path/www/host.com/wp-cli.phar --path=/home/path/www/dev.host.com core version

But I get an info message from PHP. I think, that PHP recognize the "--path" but this is a parameter for the .phar file.

Is it possible to do that in one line?

Billal Begueradj
  • 20,717
  • 43
  • 112
  • 130
mittererr
  • 125
  • 2
  • 10

0 Answers0