我正在从 git bash CLI 运行 php composer.phar install,它显示 sh:php: Command not found。
虽然我已经将环境变量路径设置为 wamp/bin/php/php5.4.16/

最佳答案

您需要将 WAMP 安装中包含 php.exe 的目录放入环境变量 PATH 中。它一般类似于 C:\wamp\bin\php。

其中\php\是包含php.exe的目录。

关于php - sh : php: command not found in git bash windows 8,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22801758/

10-09 07:14
查看更多