搭建环境
基于 ThankPHP + Mysql
PHP: 7.3 Mysql: 5.6
1.PHP要求5.6版本以上,低于5.6版本无法运行 支持php7
2.网站必须配置好伪静态(.htaccess为Apache伪静态配置文件,kyxscms.conf为Nginx伪静态配置文件)
3.需要安装扩展 fileinfoKuangYucms源码 链接:https://pan.baidu.com/s/1vJk_b6ONNXUaJ2qa3yroog 提取码:w8f5
nginx 伪静态规则
server {
listen 80;
server_name book.luoxian.xyz;location / {
root /book;
index index.php index.html index.htm default.php default.htm default.html;
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s