环境要求

异次元店铺系统对环境也有一定的要求,但是不限制于只在服务器安装,你可以在虚拟主机以及各种操作系统上都可以完美安装。

在安装程序之前,检查你的服务器或者虚拟主机是否支持以下环境:

  • PHP >= 8.0
  • Mysql >= 5.6

开始安装

通过github,或者gitee,将源代码下载至你的服务器或者虚拟主机,然后配置伪静态。

如果你访问不了github,可以点击这里进行下载最新版:acgshop-latest.zip

  • 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

其他教程:https://faka.wiki/#/README