简要描述:
- 运行环境检测
请求域名:
- dev8.yunzshop.com
请求URL:
POST/admin/install/check
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: {
server_info: [
{
name: "服务器操作系统",
value: "Windows NT DESKTOP-8T31EPV 10.0 build 17763 (Windows 10) i586"
},
],
sysytem_environment: [
{
name: "PHP版本",
need: "5.6",
optimum: "5.6",
check: true,
value: "5.6.27"
},
],
check_function: [
{
name: "mysql_connect",
need: "支持",
value: "支持"
},
]
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
以下内容属于 | 服务器信息 server_info.name | |
name | string | 参数 |
value | string | 值 |
以下内容属于 | 环境检查 sysytem_environment.name | |
name | string | 选项 |
need | string | 程序所需 |
optimum | string | 最佳配置 |
check | boolean | 判断支持和不支持 |
value | string | 当前程序 |
以下内容属于 | 函数检查 check_function.name | |
name | string | 函数名称 |
need | string | 所需状态 |
value | string | 当前状态 |
备注:
- 更多返回错误代码请看首页的错误代码描述