有 1 项必需条件不满足红色项目会导致工具报错,按“处理建议”在宝塔 PHP 设置里开启对应扩展或解除禁用后再刷新本页。
运行环境检查 19 项
| PHP 版本 | 需处理 7.2.33(建议 8.0 及以上;7.2–7.3 也可跑,本站已内置降级验签) |
|---|---|
| openssl 扩展 | 正常 已加载 |
| openssl_x509_parse | 正常 可用 |
| openssl_x509_export | 正常 可用 |
| openssl_pkey_get_public | 正常 可用 |
| openssl_sign | 正常 可用 |
| openssl_x509_verify | 可降级 不可用 · 证书验签(PHP 7.4+ 才有;缺失时自动降级) |
| openssl_x509_checkpurpose | 正常 可用 |
| openssl_pkcs7_read | 正常 可用 |
| socket 连接(443/WHOIS/RDAP) | 正常 stream_socket_client / fsockopen 可用 |
| DNS 解析 | 正常 dns_get_record 可用 |
| 出站 TLS 探测 | 正常 出站 443 正常(www.ssldun.com) |
| 本地根证书库 | 正常 /www/wwwroot/tools.ssldun.com/data/ca-bundle.pem(128 张根证书) |
| 报告目录可写 | 正常 /www/wwwroot/tools.ssldun.com/storage/reports |
| 验证页目录可写 | 正常 /www/wwwroot/tools.ssldun.com/storage/verifications |
| 提醒清单可写 | 正常 /www/wwwroot/tools.ssldun.com/storage |
| 邮件函数 mail() | 正常 可用(也可改用 SMTP) |
| 部署根路径 SITE_BASE | 正常 SITE_BASE = / |
| 调试开关 APP_DEBUG | 正常 已关闭 |
检查项按本站实际调用顺序排列。若 openssl 扩展整体缺失,请在宝塔面板「软件商店 → PHP → 设置 → 安装扩展」中启用 openssl,并确认 disable_functions 里没有 openssl_*、fsockopen、stream_socket_client。