Zsens Admin 安装向导

ThinkPHP 8.1.4 · 推荐 Nginx · PHP 8.5 · MySQL 8.0 · 官方网站

1. 欢迎阅读说明
2. 环境检测依赖
3. 数据库连接配置
4. 管理员创建账号
5. 安装写入完成

欢迎使用安装程序

安装程序将自动创建数据表、写入配置文件并生成超级管理员,无需手动导入 SQL。

安装前请确认:

  • 推荐环境:Nginx · PHP 8.5 · MySQL 8.0(最低 PHP 8.0 / MySQL 5.7+)
  • 已准备好 MySQL 账号,并具备建库权限(或已提前建好空库)
  • runtimeconfig、项目根目录 .env 可写
  • 安装完成后会生成 config/install.lock,删除该文件可重新安装

版权声明

  • Copyright © Zsens Admin 版权所有,保留一切权利
  • 程序源码、界面、资源受著作权法保护,未经官方书面授权,禁止逆向、篡改、二次分发、商用转售
  • 禁止移除、屏蔽程序内自带版权标识;未授权使用产生的全部法律责任由使用者自行承担
  • 商用部署请获取官方正规授权,本程序最终解释权归 Zsens Admin 所有
  • 官方网站: https://www.zsens.cn

环境检测

请确保下列项目全部通过,否则无法继续安装。

检测项 要求 当前 结果
推荐环境 Nginx · PHP 8.5 · MySQL 8.0 文档建议配置 通过
PHP 版本 >= 8.0(推荐 8.5) 8.2.33 通过
扩展 pdo 必须开启 已开启 通过
扩展 pdo_mysql 必须开启 已开启 通过
扩展 mbstring 必须开启 已开启 通过
扩展 json 必须开启 已开启 通过
扩展 openssl 必须开启 已开启 通过
扩展 curl 必须开启 已开启 通过
扩展 fileinfo 必须开启 已开启 通过
runtime 可写 可写 通过
config 可写 可写 通过
.env 可写 可写 可写 通过
public/static 可写 可写 通过

数据库配置

填写 MySQL 连接信息。若数据库不存在且账号有权限,安装时会自动创建。

连接参数

创建管理员

该账号将作为后台超级管理员,请妥善保存。

管理员信息

执行安装

将创建数据表、写入 .env 并生成锁定文件。

准备就绪,点击下方按钮开始安装…
基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-09-04 00:42:39 HTTP/1.1 GET : http://m.cswl.top/install.html
  2. 运行时间 : 0.034617s [ 吞吐率:28.89req/s ] 内存消耗:4,781.42kb 文件加载:159
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=6e446cd10dca64de8e604f7264066ff4
  1. /www/wwwroot/m.cswl.top/public/index.php ( 0.79 KB )
  2. /www/wwwroot/m.cswl.top/vendor/autoload.php ( 0.73 KB )
  3. /www/wwwroot/m.cswl.top/vendor/composer/autoload_real.php ( 1.63 KB )
  4. /www/wwwroot/m.cswl.top/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/m.cswl.top/vendor/composer/ClassLoader.php ( 15.99 KB )
  6. /www/wwwroot/m.cswl.top/vendor/composer/autoload_static.php ( 5.31 KB )
  7. /www/wwwroot/m.cswl.top/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/m.cswl.top/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/m.cswl.top/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/m.cswl.top/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /www/wwwroot/m.cswl.top/vendor/symfony/polyfill-mbstring/bootstrap.php ( 0.35 KB )
  15. /www/wwwroot/m.cswl.top/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.81 KB )
  16. /www/wwwroot/m.cswl.top/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /www/wwwroot/m.cswl.top/vendor/topthink/think-captcha/src/helper.php ( 1.37 KB )
  18. /www/wwwroot/m.cswl.top/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  19. /www/wwwroot/m.cswl.top/vendor/symfony/var-dumper/VarDumper.php ( 4.31 KB )
  20. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  21. /www/wwwroot/m.cswl.top/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  22. /www/wwwroot/m.cswl.top/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  23. /www/wwwroot/m.cswl.top/app/provider.php ( 0.52 KB )
  24. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Http.php ( 6.22 KB )
  25. /www/wwwroot/m.cswl.top/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  26. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  27. /www/wwwroot/m.cswl.top/app/common.php ( 6.53 KB )
  28. /www/wwwroot/m.cswl.top/app/service/PluginService.php ( 23.74 KB )
  29. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/helper.php ( 18.77 KB )
  30. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Config.php ( 5.93 KB )
  31. /www/wwwroot/m.cswl.top/config/app.php ( 0.95 KB )
  32. /www/wwwroot/m.cswl.top/config/cache.php ( 1.45 KB )
  33. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  34. /www/wwwroot/m.cswl.top/config/captcha.php ( 1.14 KB )
  35. /www/wwwroot/m.cswl.top/config/console.php ( 0.36 KB )
  36. /www/wwwroot/m.cswl.top/config/cookie.php ( 0.56 KB )
  37. /www/wwwroot/m.cswl.top/config/database.php ( 2.15 KB )
  38. /www/wwwroot/m.cswl.top/config/filesystem.php ( 0.61 KB )
  39. /www/wwwroot/m.cswl.top/config/lang.php ( 0.91 KB )
  40. /www/wwwroot/m.cswl.top/config/log.php ( 1.35 KB )
  41. /www/wwwroot/m.cswl.top/config/middleware.php ( 0.32 KB )
  42. /www/wwwroot/m.cswl.top/config/route.php ( 2.00 KB )
  43. /www/wwwroot/m.cswl.top/config/session.php ( 0.68 KB )
  44. /www/wwwroot/m.cswl.top/config/trace.php ( 0.34 KB )
  45. /www/wwwroot/m.cswl.top/config/view.php ( 0.82 KB )
  46. /www/wwwroot/m.cswl.top/app/event.php ( 0.59 KB )
  47. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Event.php ( 7.77 KB )
  48. /www/wwwroot/m.cswl.top/app/service.php ( 0.46 KB )
  49. /www/wwwroot/m.cswl.top/app/AppService.php ( 9.41 KB )
  50. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  51. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  52. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  53. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  54. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  55. /www/wwwroot/m.cswl.top/vendor/services.php ( 0.19 KB )
  56. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  57. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  58. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  59. /www/wwwroot/m.cswl.top/vendor/topthink/think-captcha/src/CaptchaService.php ( 0.52 KB )
  60. /www/wwwroot/m.cswl.top/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  61. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  62. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  63. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  64. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  65. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  66. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  67. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  68. /www/wwwroot/m.cswl.top/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  69. /www/wwwroot/m.cswl.top/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  70. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  71. /www/wwwroot/m.cswl.top/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  72. /www/wwwroot/m.cswl.top/vendor/topthink/think-helper/src/helper/Arr.php ( 17.45 KB )
  73. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  74. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/cache/Driver.php ( 9.02 KB )
  75. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  76. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.73 KB )
  77. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/PDOConnection.php ( 53.74 KB )
  78. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  79. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  80. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  81. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/Builder.php ( 24.07 KB )
  82. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  83. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/Query.php ( 15.97 KB )
  84. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  85. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  86. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  87. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  88. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  89. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  90. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  91. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  92. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  93. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  94. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/exception/PDOException.php ( 1.50 KB )
  95. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/db/exception/DbException.php ( 1.38 KB )
  96. /www/wwwroot/m.cswl.top/app/model/SiteConfig.php ( 2.66 KB )
  97. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  98. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  99. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.20 KB )
  100. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.75 KB )
  101. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  102. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  103. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.30 KB )
  104. /www/wwwroot/m.cswl.top/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  105. /www/wwwroot/m.cswl.top/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  106. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  107. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/facade/Cache.php ( 2.06 KB )
  108. /www/wwwroot/m.cswl.top/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  109. /www/wwwroot/m.cswl.top/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  110. /www/wwwroot/m.cswl.top/app/Request.php ( 0.42 KB )
  111. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Request.php ( 54.64 KB )
  112. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/traits/UrlHandler.php ( 6.05 KB )
  113. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/traits/DomainHandler.php ( 5.49 KB )
  114. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/traits/HttpMethodHandler.php ( 4.74 KB )
  115. /www/wwwroot/m.cswl.top/app/middleware.php ( 0.69 KB )
  116. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  117. /www/wwwroot/m.cswl.top/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  118. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  119. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  120. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  121. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  122. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  123. /www/wwwroot/m.cswl.top/app/middleware/CheckInstall.php ( 1.60 KB )
  124. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/facade/Config.php ( 1.37 KB )
  125. /www/wwwroot/m.cswl.top/app/service/InstallService.php ( 9.63 KB )
  126. /www/wwwroot/m.cswl.top/app/middleware/RequestPageCache.php ( 3.40 KB )
  127. /www/wwwroot/m.cswl.top/app/middleware/StatRecorder.php ( 1.06 KB )
  128. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  129. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/route/RuleName.php ( 5.74 KB )
  130. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  131. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.41 KB )
  132. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/route/Rule.php ( 27.49 KB )
  133. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  134. /www/wwwroot/m.cswl.top/route/app.php ( 5.52 KB )
  135. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  136. /www/wwwroot/m.cswl.top/app/service/PluginRouteRegistry.php ( 1.91 KB )
  137. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  138. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/route/Dispatch.php ( 11.32 KB )
  139. /www/wwwroot/m.cswl.top/app/controller/Install.php ( 4.02 KB )
  140. /www/wwwroot/m.cswl.top/app/BaseController.php ( 2.46 KB )
  141. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  142. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  143. /www/wwwroot/m.cswl.top/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  144. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  145. /www/wwwroot/m.cswl.top/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  146. /www/wwwroot/m.cswl.top/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  147. /www/wwwroot/m.cswl.top/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  148. /www/wwwroot/m.cswl.top/vendor/topthink/think-template/src/template/taglib/Cx.php ( 24.23 KB )
  149. /www/wwwroot/m.cswl.top/vendor/topthink/think-template/src/template/TagLib.php ( 12.11 KB )
  150. /www/wwwroot/m.cswl.top/runtime/temp/41ac6960a7abfaff75b8117a8185c66c.php ( 22.96 KB )
  151. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/route/Url.php ( 14.05 KB )
  152. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Response.php ( 9.07 KB )
  153. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/response/Html.php ( 0.97 KB )
  154. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  155. /www/wwwroot/m.cswl.top/app/model/Plugin.php ( 0.56 KB )
  156. /www/wwwroot/m.cswl.top/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  157. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/log/driver/File.php ( 6.10 KB )
  158. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  159. /www/wwwroot/m.cswl.top/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
0.035424s