[英]'“php.exe”' is not recognized as an internal or external command, operable program or batch file
When I run the command 当我运行命令
D:\STUDIES\xampp\htdocs\yii\trackstar\protected>yiic migrate create create_project_table
in cmd
it says 在cmd
它说
'"php.exe"' is not recognized as an internal or external command, operable program or batch file"
Any idea ? 任何想法 ?
set environment variable path like follow.... 设置环境变量路径,如下面....
path :=>...;D:\STUDIES\xampp\php;D:\STUDIES\xampp\yii\yiiframework;
or set proper path (based on your dir structure) like above.... 或者设置正确的路径(基于您的目录结构),如上所述....
You also might need to add ".PHP" to your PATHEXT environment variable. 您还可能需要在PATHEXT环境变量中添加“.PHP”。 See http://php.net/manual/en/install.windows.commandline.php 请参见http://php.net/manual/en/install.windows.commandline.php
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.