1. First, go to the official website to download the latest framework
2. Configure environment variables, find the folder where php.exe is located, and write down the path. The path here is E :\wamp\bin\php\php5.2.6
If your system is win7, then Computer->Properties->Advanced System Settings->Environment Variables->System Variables, find path
If your system is winXP, then My Computer->Properties->"Advanced" tab->Environment Variables->System Variables, find path
and add the path Go to the beginning of the path and end with ";", as shown below:
3. Place the YII framework in the root directory
4. In cmd Run dos command
Related article tutorial recommendation:yii framework
The above is the detailed content of How to build a configuration environment in the yii framework. For more information, please follow other related articles on the PHP Chinese website!