=== Config 파일 경로 테스트 === 현재 파일 위치: /var/www/html/chatlyapp/api/test_config.php 현재 디렉토리: /var/www/html/chatlyapp/api === Config 파일 경로 확인 === ../common/config.php : ✅ 존재 (/var/www/html/chatlyapp/common/config.php) ../../common/config.php : ❌ 없음 ../config.php : ❌ 없음 ../../config.php : ❌ 없음 config.php : ✅ 존재 (/var/www/html/chatlyapp/api/config.php) ../chatlyapp/common/config.php : ❌ 없음 ../../chatlyapp/common/config.php : ✅ 존재 (/var/www/html/chatlyapp/common/config.php) === 실제 config.php 로드 테스트 === Config 파일 발견: ../common/config.php === DB 설정 정보 (민감정보 제외) === DB_HOST: localhost DB_NAME: psycraft DB_USER: 설정됨 DB_CHARSET: utf8 === PDO 객체 확인 === PDO 변수 존재: YES DB 연결 테스트: ✅ 성공 === 디렉토리 구조 확인 === Level 0: /var/www/html/chatlyapp/api - config.php - old/ Level 1: /var/www/html/chatlyapp - ai generated/ - api/ - cls/ - common/ - import/ - js/ - old/ - split/ - utils/ Level 2: /var/www/html - admin/ - apiai/ - blog/ - blogs/ - cbttr/ - chatlyapp/ - chatlyclinic/ - chatlymanager/ - chatlyview/ - cmtest/ - mmpi2/ - mmpi2w/ - myproject/ - oncbt/ - opd/ - psyhub/ - psymed-ai/