Download phpstudy software
//m.sbmmt.com/xiazai/gongju/fuwuqi
Install Run
Download the Yii2.0 compressed package
https://www.yiiframework.com/download
After downloading, use the liunx system to decompress it and upload it to the win system
yii2 project path, configure it with phpstudy, and initialize the import entry file of yii2
http://127.0.0.1/ corresponds to ..\advanced\backend\web Backend
http://127.0.0.2/ corresponds It's...\advanced\frontend\web Frontend
##Note: PHPstudy needs to enable openssl extensionPHP init initializes the entry file of yii2Related recommendations: yii framework, learning address:
The above is the detailed content of How to deploy yii project. For more information, please follow other related articles on the PHP Chinese website!