1. Download yii framework
2. Configure environment variables
1. Yiic environment variables D:\wamp\www\yiiDemo\framework (The path where the downloaded yii framework yiic is located)
2. The environment variable of php.exe is such as: D:\wamp\bin\php\php5.3.10 (the path where php.exe is located in the server used) )
3. Use the command to create the yii project
yiic webapp D:wamp\www\mydemos
Complete! It will create a mydemos project in your D:wamp\www\ directory.
Recommended related articles and tutorials: yii tutorial
The above is the detailed content of How to create a project using yii framework. For more information, please follow other related articles on the PHP Chinese website!