当前位置:网站首页>Thinkcmf6.0安装教程
Thinkcmf6.0安装教程
2022-07-07 04:38:00 【邪小新】
1.去官网下载thinkcmf / ThinkCMF--6.0

2. 去 thinkcmf / ThinkCMF企业门户解决方案-->下载

3.然后把第二步文件合并到第一步哪里
4.用phpstudy创建网站
配置好nginx文件
location / {
index index.php index.html index.htm;
#如果请求既不是一个文件,也不是一个目录,则执行一下重写规则
if (!-e $request_filename)
{
#地址作为将参数rewrite到index.php上。
rewrite ^/(.*)$ /index.php?s=$1;
#若是子目录则使用下面这句,将subdir改成目录名称即可。
#rewrite ^/subdir/(.*)$ /subdir/index.php?s=$1;
}
}
location /api/ {
index index.php index.html index.htm;
#如果请求既不是一个文件,也不是一个目录,则执行一下重写规则
if (!-e $request_filename)
{
#若是子目录则使用下面这句,将subdir改成目录名称即可。
rewrite ^/api/(.*)$ /api.php?s=$1;
}
}
location ~* ^\/upload\/.+\.(html|php)$ {
return 404;
}
location ~* ^\/plugins\/.+\.(html|php)$ {
return 404;
}
location ~* ^\/themes\/.+\.(html|php)$ {
return 404;
}5.启动安装数据库
6.安装成功后删除安装程序
composer remove thinkcmf/cmf-install

边栏推荐
猜你喜欢
![[webrtc] M98 screen and window acquisition](/img/b1/1ca13b6d3fdbf18ff5205ed5584eef.png)
[webrtc] M98 screen and window acquisition

leetcode:105. Constructing binary trees from preorder and inorder traversal sequences

【p2p】本地抓包

2022 welder (elementary) judgment questions and online simulation examination

2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct

What are the positions of communication equipment manufacturers?

2022 tea master (intermediate) examination questions and mock examination

开源生态|打造活力开源社区,共建开源新生态!

知识点滴 - 关于苹果认证MFI

IO stream file
随机推荐
Detailed explanation of Kalman filter for motion state estimation
IPv4 exercises
nacos
Idea add class annotation template and method template
面试结束后,被面试官在朋友圈吐槽了......
IO stream file
即刻报名|飞桨黑客马拉松第三期等你挑战
[SUCTF 2019]Game
leetcode:105. Constructing binary trees from preorder and inorder traversal sequences
Mysql高低版本切换需要修改的配置5-8(此处以aicode为例)
Regular e-commerce problems part1
为什么要了解现货黄金走势?
@component(““)
vus.SSR在asynData函数中请求数据的注意事项
解决问题:Unable to connect to Redis
Button wizard collection learning - mineral medicine collection and running map
【数学笔记】弧度
Leetcode 43 String multiplication (2022.02.12)
[UTCTF2020]file header
misc ez_usb