Background Image

FORUM

조회 수 220 추천 수 0 댓글 4
?

단축키

Prev이전 문서

Next다음 문서

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

* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
Linux 64bit
CUBRID Ver.
[cubrid_rel] 수행 결과
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
php

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


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


http://www.cubrid.com/faq/3794657 

여기에 나와있는 스탭대로 진행하다가 make부분에서 아래와 같은 에러가 발생하여 문의드립니다.
.configure시에도 fatal error libregex38a 부분이 뜨긴 합니다만 make까지는 진행이 되긴합니다.



/bin/sh /cubrid-php/libtool --mode=compile cc  -I. -I/cubrid-php -DPHP_ATOM_INC -I/cubrid-php/include -I/cubrid-php/main -I/cubrid-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/cubrid-php/cci-src/src/cci -I/cubrid-php/cci-src/src/broker  -DHAVE_CONFIG_H  -g -O2   -c /cubrid-php/php_cubrid7.c -o php_cubrid7.lo
libtool: compile:  cc -I. -I/cubrid-php -DPHP_ATOM_INC -I/cubrid-php/include -I/cubrid-php/main -I/cubrid-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/cubrid-php/cci-src/src/cci -I/cubrid-php/cci-src/src/broker -DHAVE_CONFIG_H -g -O2 -c /cubrid-php/php_cubrid7.c  -fPIC -DPIC -o .libs/php_cubrid7.o
/cubrid-php/php_cubrid7.c: In function 'php_cubrid_do_connect':
/cubrid-php/php_cubrid7.c:1385:28: error: lvalue required as increment operand
           GC_REFCOUNT(link)++;
                            ^
/cubrid-php/php_cubrid7.c: In function 'php_cubrid_do_connect_with_url':
/cubrid-php/php_cubrid7.c:1498:34: error: lvalue required as increment operand
                 GC_REFCOUNT(link)++;
                                  ^
/cubrid-php/php_cubrid7.c: In function 'zif_cubrid_put':
/cubrid-php/php_cubrid7.c:2670:10: error: 'IS_CONSTANT' undeclared (first use in this function)
     case IS_CONSTANT:
          ^
/cubrid-php/php_cubrid7.c:2670:10: note: each undeclared identifier is reported only once for each function it appears in
/cubrid-php/php_cubrid7.c: In function 'zif_cubrid_lob_close':
/cubrid-php/php_cubrid7.c:5580:37: error: lvalue required as left operand of assignment
  GC_REFCOUNT(Z_RES_P(lob_id_array)) = 1;
                                     ^
/cubrid-php/php_cubrid7.c: In function 'php_cubrid_set_default_link':
/cubrid-php/php_cubrid7.c:5645:21: error: lvalue required as increment operand
     GC_REFCOUNT(res)++;
                     ^
/cubrid-php/php_cubrid7.c: In function 'php_cubrid_set_default_req_link':
/cubrid-php/php_cubrid7.c:5655:21: error: lvalue required as increment operand
     GC_REFCOUNT(res)++;
                     ^
/cubrid-php/php_cubrid7.c: In function 'php_cubrid_fetch_hash':
/cubrid-php/php_cubrid7.c:6779:16: error: 'zend_fcall_info_cache' has no member named initialized'
             fcc.initialized = 1;
                ^
make: *** [php_cubrid7.lo] 오류 1



위와같은 오류가 발생하여 진행이 안되는데 어떻게 해야될까요?


하려는 일은 php mysql로 구축되어있는 서버에서 cubrid로 운영되고있는 서버에 select 해서 값을 받아오려고 cubrid driver를 설치하는 과정이었습니다.

위 스탭과 http://www.cubrid.com/faq/3815578 스탭을 둘다 해봤는데 둘다 에러가 발생한상황입니다(비슷한 경우이지만)




제가 설명을 잘 못했다면

CentOS 7 + Apache 2.4.6 + PHP 7.3 + CUBRID PHP 드라이버 연동하는 방법을 정확히 설명해주세요.

php를 지우고 다시 http://www.cubrid.com/faq/3815578 에 나와있는 순서대로 시도해도 위와 똑같은 문제가 발생합니다.

  • ?
    정훈 2020.02.27 11:57
    안녕하세요. 혹시 어떤 PHP 버전 드라이버로 설치를 진행하셨나요?
    CUBRID-PHP 드라이버 파일 명에 버전이 나와있습니다.
  • ?
    개발자nn 2020.02.27 12:04
    10.1.0, 10.2.0 둘다 시도 해 봤습니다.
  • ?
    김병욱 2020.02.27 14:09
    linux shell에서 아래 순서대로 해세요.

    우선 아래의 드라이버 소스 코드를 받아서 압축을 해제합니다.
    http://ftp.cubrid.org/CUBRID_Drivers/PHP_Driver/10.2.0/Linux/CUBRID-PHP-10.2.0.0003.tar.gz

    ftp.cubrid.org에서 받은 소스코드 디렉토리가 cubrid-php-driver-source-directory로 가정합니다.

    # cd cubrid-php-driver-source-directory
    # phpize
    # ./configure
    # make
  • ?
    개발자nn 2020.02.27 18:13
    신규로 서버 만들어서 해봤는데 잘 되네요 기존서버에서 php mariadb httpd 다 제거후 다시 설치하면서 시도해보겠습니다

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

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

    Date2020.04.09 Byadmin Views4458
    read more
  3. 트리거 질문드립니다.

    Date2020.01.10 By서준빠 Views253
    Read More
  4. 10.1 또는 10.2. 버전에서는 web manager를 지원 안 하나요?

    Date2020.01.10 Byhbg Views141
    Read More
  5. MAX_PREPARED_STMT_COUNT Error 문의

    Date2020.01.14 By파랑조아유 Views569
    Read More
  6. 큐브리드 트리거 질문 드립니다.

    Date2020.01.14 Byspeed Views500
    Read More
  7. 971번 에러 로그가 5초간격으로 쌓임

    Date2020.01.15 Bykidless Views311
    Read More
  8. 큐브리드 매니저로 접속했을때 DB 볼륨이름/볼륨유형 표시에 대해서 질문

    Date2020.01.16 Bykidless Views214
    Read More
  9. 함수 사용시 max, min 값 문의

    Date2020.01.20 Bykipo0821 Views531
    Read More
  10. 에러 질문 드립니다.!!

    Date2020.01.22 By마리오네트 Views98
    Read More
  11. 버전에 대한 취약점 및 EOS 관련 문의

    Date2020.01.29 ByKSH_혁 Views252
    Read More
  12. 메니져 실행이 안됩니다.

    Date2020.02.01 Byufox Views391
    Read More
  13. 간혈적 에러 '보호된 메모리를 읽거나 쓰려고 했습니다. 확인 부탁드리겠습니다.

    Date2020.02.03 By.net Views381
    Read More
  14. asp.net ibatis connection string is null

    Date2020.02.04 Bynoy Views680
    Read More
  15. backupdb 문의드립니다,

    Date2020.02.05 By동동 Views175
    Read More
  16. 9.3버전에서 10.2버전 업그레이드 방법문의 드립니다.

    Date2020.02.06 By동동 Views280
    Read More
  17. unique constraint violations 문의

    Date2020.02.10 Byguloman Views432
    Read More
  18. cubrid manager 에서 select 조회 시 검색 단위에 대해서 질문있습니다.

    Date2020.02.14 By브로콜리너마저 Views227
    Read More
  19. 컬럼명 한글 및 csv 읽어서 연동

    Date2020.02.17 Byintern1910 Views473
    Read More
  20. 쿼리 실행시 응답이 없습니다.

    Date2020.02.24 Byscvjeong Views313
    Read More
  21. cenots7 php7에 cubrid연동 시 에러 질문

    Date2020.02.26 By개발자nn Views220
    Read More
  22. linux에서 php pdo driver 설치시 문의

    Date2020.02.27 By개발자nn Views170
    Read More
Board Pagination Prev 1 ... 150 151 152 153 154 155 156 157 158 159 ... 200 Next
/ 200

Contact Cubrid

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