首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >rageframe{php引擎}安装全流程

rageframe{php引擎}安装全流程

作者头像
贵哥的编程之路
发布2021-12-07 14:11:37
发布2021-12-07 14:11:37
8210
举报

第一步,下载phpstudy; 第二步:百度搜索rageframe进入官网. 第三步:

第四步:

第五步: 克隆:在哪里克隆呢?git界面化工具中克隆出来rageframe2安装包.

代码语言:javascript
复制
git clone https://github.com/jianyan74/rageframe2.git

第六步: 把

这个文件放到phpstudy的www目录下面. 第七步:

第七步:打开phpstudy中的composer界面化工具。

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

代码语言:javascript
复制
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;
}

安装步骤:

代码语言:javascript
复制
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
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2021/12/04 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档