第一步,下载phpstudy;
第二步:百度搜索rageframe进入官网.
第三步:在这里插入图片描述
第四步:在这里插入图片描述
第五步:
克隆:在哪里克隆呢?git界面化工具中克隆出来rageframe2安装包.

git clone https://github.com/jianyan74/rageframe2.git

在这里插入图片描述
第六步:
在这里插入图片描述
这个文件放到phpstudy的www目录下面.
第七步:在这里插入图片描述

第七步:打开phpstudy中的composer界面化工具。
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述在这里插入图片描述
在这里插入图片描述

在这里插入图片描述在这里插入图片描述

最后,安装伪静态就行了.

location / {
    try_files $uri $uri/ /index.php$is_args$args;
}
location /backend {
    try_files $uri $uri/ /backend/index.php$is_args$args;
}
location /api {
    try_files $uri $uri/ /api/index.php$is_args$args;
}
location /merchant {
    try_files $uri $uri/ /merchant/index.php$is_args$args;
}
location /merapi {
    try_files $uri $uri/ /merapi/index.php$is_args$args;
}
location /html5 {
    try_files $uri $uri/ /html5/index.php$is_args$args;
}
location /oauth2 {
    try_files $uri $uri/ /oauth2/index.php$is_args$args;
}

location ~* ^/attachment/.*\.(php|php5)$ 
{
    deny all;
}

在这里插入图片描述
安装步骤:
在这里插入图片描述

git clone https://github.com/jianyan74/rageframe2.git
cd rageframe2
php composer.phar install
php init // 然后输入0回车,再输入yes回车
找到 common/config/main-local.php 并配置相应的信息, 注意要先创建好数据库
php ./yii migrate/up
php ./yii password/init
php composer.phar update

在这里插入图片描述

在这里插入图片描述

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐