系统概览
框架名称 {$systemInfo.framework} 框架版本 {$systemInfo.version}
Layui版本 {$systemInfo.layui_version} ThinkPHP版本 {$systemInfo.thinkphp_version}
PHP版本 {$systemInfo.php_version} 服务器时间 {$systemInfo.server_time}
时区 {$systemInfo.timezone}
服务器环境
服务器软件 {$serverInfo.server_software}
操作系统 {$serverInfo.os}
运行模式 {$serverInfo.sapi}
服务器IP {$serverInfo.ip}:{$serverInfo.port}
数据库状态
{if $databaseInfo.status == 'error'} {/if}
数据库类型 {$databaseInfo.type}
连接状态 {if $databaseInfo.status == 'connected'} 正常 {elseif $databaseInfo.status == 'error'} 异常 {else/} 未知 {/if}
数据库版本 {$databaseInfo.version}
数据库名称 {$databaseInfo.database}
表前缀 {$databaseInfo.prefix}
数据表数量 {$databaseInfo.table_count}
错误信息 {$databaseInfo.error}
存储状态
根目录 {$storageInfo.root_path}
总容量 {$storageInfo.total}
已用空间 {$storageInfo.used}
可用空间 {$storageInfo.free}
使用率
缓存配置
{if $cacheInfo.status == 'error'} {/if}
默认驱动 {$cacheInfo.default_driver}
驱动类型 {$cacheInfo.type}
缓存路径 {$cacheInfo.path}
缓存前缀 {$cacheInfo.prefix}
有效期 {$cacheInfo.expire == 0 ? '永久' : $cacheInfo.expire . '秒'}
状态 {if $cacheInfo.status == 'available'} 可用 {elseif $cacheInfo.status == 'error'} 异常 {else/} 未知 {/if}
错误信息 {$cacheInfo.error}
PHP配置
上传文件限制 {$phpConfigInfo.upload_max_filesize}
POST最大限制 {$phpConfigInfo.post_max_size}
内存限制 {$phpConfigInfo.memory_limit}
最大执行时间 {$phpConfigInfo.max_execution_time}
最大输入时间 {$phpConfigInfo.max_input_time}
文件上传 {$phpConfigInfo.file_uploads}
Allow URL Fopen {$phpConfigInfo.allow_url_fopen}
禁用函数 {php}echo mb_strlen($phpConfigInfo['disabled_functions']) > 50 ? mb_substr($phpConfigInfo['disabled_functions'], 0, 50) . '...' : $phpConfigInfo['disabled_functions'];{/php}
性能指标
内存使用 {$performanceInfo.memory_usage}
内存限制 {$performanceInfo.memory_limit}
内存使用率
峰值内存 {$performanceInfo.peak_memory}
系统负载 {$performanceInfo.load_average}