1.我们先去官网下载一份Yii2的高级模版。
2.Yii 2 with advanced application template
3.advanced目录开始配置 cd advanced
4.php init(可能会提示The OpenSSL PHP extension is required by Yii2.不要怕,打开php.ini配置文件,开启extension=php_openssl.dll)
5.http://localhost/advanced/frontend/web/(成功了)
时间: 2024-11-10 14:28:29