简体   繁体   English

Windows无法将Yiic识别为命令

[英]Yiic not recognized as command in windows

this question might seems to have been asked before, but I think I'm encountering something else. 这个问题似乎以前曾被问过,但我想我遇到了其他问题。 I installed xampp and supposedly, Yii framework . 我安装了xampp,并且应该安装了Yii framework When I tried to create a web app using yiic command I got : 当我尝试使用yiic命令创建Web应用程序时,我得到了:

yiic is not recognized as an internal or external command, operable program or batch file. yiic不被识别为内部或外部命令,可操作程序或批处理文件。

According to a question previously asked on stackoverflow, this is caused by the Path environment variable not configured correctly, which I did as I was advised, like in the image below, If I'm wrong, I clearly I didn't know where and you guys might do. 根据先前对stackoverflow提出的一个问题,这是由于Path环境变量配置不正确引起的,正如我所建议的那样,如下图所示,如果我错了,我显然不知道在哪里以及你们可能会做。 Please help 请帮忙 在此处输入图片说明

I downloaded and unzipped yii in wamp www in folder yii. 我在yii文件夹中的wwww中下载并解压缩yii。 There was no framework folder in the distribution but instructions said to execute yiic from the framework folder. 发行版中没有Framework文件夹,但是说要从Framework文件夹执行yiic的指令。 I search the distribution and there is no yiic, or framework. 我搜索发行版,但没有yiic或框架。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM