🎉 TG图片识别平台 - 系统测试
📋 PHP配置
PHP版本: 8.2.28 ✓ 正常
文档根目录: /www/wwwroot/cweb.niunaiwu.com
当前文件路径: /www/wwwroot/cweb.niunaiwu.com/public/test.php
🔧 必需扩展检查
pdo: ✓ 已安装
pdo_mysql: ✓ 已安装
curl: ✓ 已安装
json: ✓ 已安装
mbstring: ✓ 已安装
gd: ✓ 已安装
fileinfo: ✓ 已安装
🤖 AI服务检查
AI服务状态: ✓ 运行正常{
"service": "TG Image Search AI Service (Lite)",
"status": "running",
"model": "CLIP RN50 (Lite)",
"model_loaded": true,
"device": "cpu",
"total_vectors": 53,
"dimension": 1024,
"index_type": "FlatIP",
"memory_mb": 7.68,
"timestamp": "2026-02-04T13:14:03.085894"
}
💾 数据库检查
数据库连接: ✓ 成功
数据统计:{
"groups": 114,
"images": 0,
"processed": 52,
"features": 52
}
📁 目录权限检查
storage: ✓ 可写
storage/images: ✗ 不存在
storage/uploads: ✓ 可写
storage/logs: ✓ 可写
storage/temp: ✗ 不可写
🚀 下一步操作
1. 访问首页: index.php
2. 查看使用指南: 立即开始使用.md
3. 如果一切正常,开始处理图片:
cd /www/wwwroot/cweb.niunaiwu.com
php scripts/process_images_clip.php --limit=10 --verbose