0
点赞
收藏
分享

微信扫一扫

知识付费-windows环境安装之手动安装教程

小a草 2022-01-26 阅读 42
windows

手动安装

1.创建数据库,倒入数据库文件 数据库文件目录/public/install/zhishifufei.sql

2.修改数据库连接文件 配置文件路径/application\dotabase.php

 

 

 

 if(file-exists(''./install/')&&!file-exists('./install/install.lock')){

if($-SERVER['PHP-SELF']!='/index.php'){

header('Content-type :text/html;charst=utf-8');

exit("请在域名根目录下安装,如:

www.xxx.com/index.php正确

www.xxx.com/www/index.php错误,域名后面不圈套目录,但项目没有根目录存放限制,可以放在任意目录apache虚拟主机配置一下即可

header('Location:/install/index.php');

exit();

}

6.在public/install文件夹下创建文件install.lock

7.安装成功。可进入后台配置对接公众号信息

后台链接如:http://zhishifufei.crmeb.net/admin/login/index.html

前台链接如: http://zhishifufei.crmeb.net/wap/index/index.html

8.系统后台设置-系统设置-基础设置中的网站地址域名要带http或https 

举报

相关推荐

0 条评论