This article describes the solution to the prompt "" when yiic command is not an internal or external command. It is shared with you for your reference. The specific methods are as follows:
Running yiic webapp work in CMD If the report "" is not an internal command, it is like this: the reason is that the Yii comes with it cannot be found.
Solution:
Because the environment variable is not added, it cannot be executed directly.
Right-click "My Computer-》Properties-》Advanced->Environment Variables-》System Variables-》PATH-》Edit", and add the following 2 execution files to the variable value to facilitate direct call and execution.
Variable value: C:\wamps\bin\php\php5.3.8\;E:\php\PHPnow\htdocs\yii\framework\
Method 2:
Because the reason for this problem is that Yii comes with it cannot be found, you can open yii/framework/modify it with a text editor:
Change to:
Then re-run the yiic webapp work in CMD and it will be OK.
I hope that this article will be helpful to everyone's PHP programming based on the Yii framework.