Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 SSH 中运行以下命令:
/usr/local/bin/php -f /home/path/www/host.com/wp-cli.phar --path=/home/path/www/dev.host.com core version
但我从 PHP 收到一条信息消息。我认为,PHP 识别“ --path”,但这是.phar文件的参数。
--path
.phar
是否有可能在一行中做到这一点?