Background Image

FORUM

?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
  Linux Cent OS 6
CUBRID Ver.
  2008 R4.4 (8.4.4.19002)
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
  PHP 5.6.40

* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.
에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------

안녕하세요?


그저께 https://www.cubrid.com/qna/3828382 로 문의한 바 있습니다.


PHP-CUBRID 드라이버를 정상적으로 설치했습니다만 웹에서 작동을 하지 않습니다.


드라이버 설치 폴더인 RB-8.4.4/tests 에 있는

cubrid_fetch_array.php를 console에서

$ php cubrid_fetch_array.php 로 실행하면 아래와 같이 정상적으로 demodb의 내용들을 불러옵니다.


--TEST--
cubrid_fetch_array
--SKIPIF--
--FILE--
array(4) {
  [0]=>
  string(1) "X"
  ["s_name"]=>
  string(1) "X"
  [1]=>
  string(5) "Mixed"
  ["f_name"]=>
  string(5) "Mixed"
}
array(4) {
  [0]=>
  string(1) "W"
  ["s_name"]=>
  string(1) "W"
  [1]=>
  string(5) "Woman"
  ["f_name"]=>
  string(5) "Woman"
}
array(4) {
  [0]=>
  string(1) "M"
  ["s_name"]=>
  string(1) "M"
  [1]=>
  string(3) "Man"
  ["f_name"]=>
  string(3) "Man"
}
array(4) {
  [0]=>
  string(1) "B"
  ["s_name"]=>
  string(1) "B"
  [1]=>
  string(6) "Bronze"
  ["f_name"]=>
  string(6) "Bronze"
}
array(4) {
  [0]=>
  string(1) "S"
  ["s_name"]=>
  string(1) "S"
  [1]=>
  string(6) "Silver"
  ["f_name"]=>
  string(6) "Silver"
}
array(4) {
  [0]=>
  string(1) "G"
  ["s_name"]=>
  string(1) "G"
  [1]=>
  string(4) "Gold"
  ["f_name"]=>
  string(4) "Gold"
}
array(2) {
  [0]=>
  string(1) "X"
  [1]=>
  string(5) "Mixed"
}
array(2) {
  ["s_name"]=>
  string(1) "W"
  ["f_name"]=>
  string(5) "Woman"
}
done!--CLEAN--
--EXPECTF--


그런데 같은 cubrid_fetch_array.php 를 웹브라우저로 실행하면

--TEST-- cubrid_fetch_array --SKIPIF-- skip Can't connect to CUBRID DB Server - [-20016] Cannot connect to CUBRID CAS

위와 같은 오류가 발생합니다.


흡사 Cubrid가 Apache로 접근을 막고 있는 것 같습니다.

물론 33000 포트는 열려있습니다.


<?php

echo extension_loaded("cubrid") ? "loaded\n" : "not loaded\n";

?>

위의 스크립트를 웹에서 실행하면 loaded라고 정상적으로 나옵니다.


아파치 버전이 2.2입니다만 이것이 관련이 있을까요?

도움 부탁드립니다.

  • ?
    큐브리드_김주현 2020.08.13 10:50
    8..1버전으로 버전차이가 있긴 하지만, "Windows 에서 Apache, PHP 를 이용하여 CUBRID 사용하기" 가 설명이 있습니다.
    https://www.cubrid.com/tutorial/3793544
    위 절차를 참고하시기 바랍니다.

  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views48
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4458
    read more
  3. CUBRID 11.2 & CUBRID Aadmin 11.1 오류 문의

    Date2023.03.08 By붉은구름 Views135
    Read More
  4. 도커에서 설치시 접속 문의드립니다.

    Date2023.03.07 By핫산 Views392
    Read More
  5. 특수문자 포함 LIKE검색

    Date2023.03.06 BySEO Views155
    Read More
  6. cubrid admin 질문 드립니다.

    Date2023.03.06 By초코초코초 Views119
    Read More
  7. plugin방식 호출

    Date2023.03.04 By네오랜덤 Views142
    Read More
  8. 서브쿼리시 질문드립니다.

    Date2023.02.28 Bydev123123 Views151
    Read More
  9. Cubrid DB 의 sqoop 사용시 옵션 문의

    Date2023.02.28 By망고라떼 Views100
    Read More
  10. 큐브리드 통계정보 관련 문의드립니다.

    Date2023.02.26 By초코초코초 Views119
    Read More
  11. cubrid 매니저 패스워드 공용으로 사용하는건가요??

    Date2023.02.24 By학아 Views178
    Read More
  12. list 합수의 결과를 varchar 컬럼에 insert 시 오류 문의

    Date2023.02.24 By플레이어블 Views126
    Read More
  13. LOG 설정 관련 질문입니다.

    Date2023.02.23 Byjemin Views90
    Read More
  14. 큐브리드 unload 문의드립니다.

    Date2023.02.22 By초코초코초 Views226
    Read More
  15. Mac OS 에서 Cubrid Manager 실행이 안됩니다.

    Date2023.02.20 By엘L Views330
    Read More
  16. 쿼리 플랜 cardinality, cost 이상

    Date2023.02.16 Byparknnna Views184
    Read More
  17. 조건절 in 에 들어가는 순서대로 뽑고 싶습니다.

    Date2023.02.15 By구르마도리 Views92
    Read More
  18. Cubrid 11.2 접속 문제.

    Date2023.02.15 By엘L Views137
    Read More
  19. cubrid 매니저 백업 자동화 추가 비활성

    Date2023.02.15 By제리리 Views125
    Read More
  20. Mac OS 큐브리드 매니저 설치 문제

    Date2023.02.13 ByDJ Views323
    Read More
  21. (함수)펑션 오류 확인부탁드립니다.

    Date2023.02.10 By초코초코초 Views102
    Read More
  22. 필드 추가시 빨랐던 select문 느려지는 이유

    Date2023.02.10 By나라디 Views127
    Read More
Board Pagination Prev 1 ... 5 6 7 8 9 10 11 12 13 14 ... 200 Next
/ 200

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales