Execute the following command in cmd to create the yii project:
First find yiic and then webapp followed by the path of the project you want to create
C:\Users\Administrator>E:\wamp\www\yii\framework\yiic webapp E:\wamp\www\yii\shop
If the command and path are correct, the following will appear Prompt to enter yes and wait for creation
Create a Web application under 'E:\wamp\www\yii\shop'? (yes|no) [no]:yes
Finally see the following sentence, indicating that the project has been created successfully
Your application has been created successfully under E:\wamp\www\yii\shop.
( Recommended learning: yii framework)
The above is the detailed content of How to create your own project in yii. For more information, please follow other related articles on the PHP Chinese website!