环境要求
异次元店铺系统对环境也有一定的要求,但是不限制于只在服务器安装,你可以在虚拟主机以及各种操作系统上都可以完美安装。
在安装程序之前,检查你的服务器或者虚拟主机是否支持以下环境:
- PHP >= 8.0
- MySQL >= 5.6
开始安装
将源代码下载至你的服务器或者虚拟主机,然后配置伪静态。
可以登录后下载源代码
- Apache伪静态规则:无需配置,规则就是程序根目录的.htaccess文件
- nginx伪静态规则:
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
- Windows IIS 伪静态规则:
<rules>
<rule name="acg_rewrite" stopProcessing="true">
<match url="^(.*)$"/>
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$"/>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
</conditions>
<action type="Rewrite" url="index.php?s={R:1}"/>
</rule>
</rules>
配置完伪静态后,访问你的网站首页,即可进行安装。
安装完成后,后台地址是:https://你的域名/admin
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容