C:\>php tools\spark install -v1.0.0 example-spark
'php' is not recognized as an internal or external command,
operable program or batch file.
为什么会这样?我需要为执行此命令做些什么?请帮忙。非常感谢
答案 0 :(得分:1)
您需要将PHP添加到Windows PATH变量中。您可以阅读有关如何执行此操作的详细说明in the PHP manual。
答案 1 :(得分:0)
答案 2 :(得分:0)
我只是在control panel->perfromance and maintenance->system->advance and click environment variables and edit the path to C:\wamp\bin\php\php5.4.3