Warning: is_file(): open_basedir restriction in effect. File(/www/wwwroot/qqbot-config.php) is not within the allowed path(s): (/www/wwwroot/qqbot.6s1.cn/:/tmp/) in /www/wwwroot/qqbot.6s1.cn/app/Config.php on line 28

Warning: is_writable(): open_basedir restriction in effect. File(/www/wwwroot) is not within the allowed path(s): (/www/wwwroot/qqbot.6s1.cn/:/tmp/) in /www/wwwroot/qqbot.6s1.cn/app/Config.php on line 35
安装 · QQ 机器人管理台
Q
QQ 机器人管理台 首次安装
上传项目 → 访问域名 → 填写下面的信息
SETUP WIZARD

安装你的机器人管理台

填写数据库和第一个管理员账号,安装程序会自动建表并写入配置文件。安装后不需要额外伪静态。

环境检查

满足安装条件
PHP 版本 8.1+ 8.2.35
网站根目录为 public 正确(可选)
pdo_mysql 已安装
mbstring 已安装
curl 已安装
openssl 已安装
sodium(回调验签) 已安装(可选)
配置目录可写 /www/wwwroot/qqbot.6s1.cn
会话可用 正常

站点信息

之后可以在「官网设置」里修改

数据库

建议使用宝塔里创建的独立数据库

账号需要建表权限。勾选自动建库时,数据库账号还需要建库权限。

第一个管理员

安装完成后用它登录后台
安装程序会写入配置文件 优先写到项目上级目录;父目录不可写时写到项目根目录,不会放进 public。

安装完成后,网站根目录必须保持为 public;本项目不需要伪静态。详细说明见项目根目录的《部署文档.md》。