1panel安装开源商城shopxo

33 次阅读

本文最后更新于 2026年5月11日。

shopxo

https://hub.docker.com/r/codiy/shopxo/tags

https://cloud.tencent.com/developer/article/1965192?policyId=1004

https://blog.csdn.net/gitblog_01043/article/details/150415343

支持php8

php扩展模板:包含的插件

curl,gd,mbstring,mysqli,openssl,pdo_mysql,pdo_sqlite,sqlite3,bcmath,opcache,pcntl,tokenizer,xml,zip,redis,json,xml,fileinfo

也要开启伪静态

location / {
    try_files $uri $uri/ /index.php?$query_string;
}

否则安装界面都打不开

文件权限配置

还有就是文件访问权限的问题,配置伪静态也无法打开安装界面,后来把整个站点文件夹权限全部打开才正常访问。

误报数据库不兼容错误解决

数据库版本过低、需要>=5.6、当前10.11.5-MariaDB-1:10.11.5+maria~ubu2204

在安装程序文件中注释掉相关检查代码就行了
 /application/install/controller/Index.php

        if(empty($data[0]['version']))

        {

            $this->behavior_obj->ReportInstallLog(['msg'=>'查询数据库版本失败']);

            return DataReturn('查询数据库版本失败', -1);

        } else {

            $mysql_version = str_replace('-log', '', $data[0]['version']);

            if($mysql_version < $this->charset_type_list[$db_charset]['version'])

            {

                $msg = '数据库版本过低、需要>='.$this->charset_type_list[$db_charset]['version'].'、当前'.$mysql_version;

                $this->behavior_obj->ReportInstallLog(['msg'=>$msg, 'mysql_version'=>$mysql_version]);

                return DataReturn($msg, -1);

            }

        }

安装成功

恭喜您安装成功

点击访问后台管理 >>

后台管理地址: https://mall.weiyoun.com/adminqqty4b.php?s=index/index.html

默认后台地址入口文件在站点根目录和public目录下,默认以 admin 开头 .php 结尾的文件名称。

点击访问首页 >>

请尽快修改管理员密码,以防被非法入侵。
并删除 ./app 目录下的 install 目录。