Background Image

FORUM

조회 수 12795 추천 수 0 댓글 3
?

단축키

Prev이전 문서

Next다음 문서

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

안녕하십니까?
cubrid 2008 R2.0, php-5.1.6, apache 2.2.14 환경에서 개발을 할려고 하는 개발자입니다

cubrid-php_src.tar 파일을 다운로드 받아서 INSTALL문서에 있는 내용을 실행했지만
"PHP Fatal error:  Call to undefined function unisql_connect()" 에러가 나오면서 디비 연결이 되지 않아
질문을 올립니다.

-- 작업과정을 정리 하였습니다. 참고하시고 답변 부탁드립니다. 수고하십시오. --

1. cubrid-php_src.tar 다운로드

2. 압축해제

3. cci 디렉토리를 만들고 그 안에 CUBRID CCI library를 복사합니다.
cubrid_phpext> mkdir cci
cubrid_phpext> cp 큐브리드서버경로/lib/libcascci.a cci
cubrid_phpext> cp 큐브리드서버경로/include/cas_cci.h cci

4. src/config.m4 파일에서 경로를 수정합니다
"$CUBRID"으로 "/usr/local/src/cubrid-php/cci"으로 수정

5. PHP 소스를 다운로드 받아 cubrid_phpext 디렉토리에서 압축을 풉니다.
cubrid_phpext> tar -xzvf php-5.2.6.tar.gz

6. php-5.2.6/ext 디렉토리로 이동하여 cubrid 디렉토리를 생성하고 이동합니다.
cubrid_phpext> cd php-5.2.6/ext
ext> mkdir cubrid
ext> cd cubrid

7. cubrid 디렉토리에 src 디렉토리에 있는 파일들의 symbolic link를 생성합니다.

cubrid> ln -s ../../../src/* .

8. PHP 소스의 root 디렉토리로 이동하여 configure 파일을 생성합니다.

cubrid> cd ../..
php-5.2.6> ./buildconf --force

9. configure를 이용하여 Makefile을 생성합니다.
./configure
--prefix=/usr/local/php
--with-cubrid=shared
--enable-maintainer-zts
--with-exec-dir=/usr/bin
--with-apxs2=/usr/local/apache2/bin/apxs
--with-apache-install=/usr/local/apache2
--with-config-file-path=/etc
--with-png-dir=/usr/lib
--with-jpeg-dir=/usr/lib
--enable-safe-mode
--enable-track-vars
--enable-sockets
--with-mod_charset
--with-charset=euc_kr
--with-xml
--with-language=korean
--enable-mailparse
--enable-calender
--enable-sysvsem=yes
--enable-sysvshm=yes
--enable-ftp
--enable-magic-quotes
--enable-gd-native-ttf
--enable-url-includes
--enable-trans-id
--enable-inline-optimization
--enable-bcmath
--with-png
--with-jpeg
--with-zlib
--with-gd
--with-ttf
--with-gettext
--enable-sigchild
--enable-module=so

10. cubrid_err_msg파일을 /var/log폴더에 복사

11. php.ini 설정
extension_dir="/usr/local/php/lib/php/extension/no-debug-zts-20050922"
extension=cubrid.so
cubrid.err_path=/var/log


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

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

    Date2020.04.09 Byadmin Views4478
    read more
  3. 디비 사용자 추가시 오류 문의드립니다.

    Date2010.03.24 By큐브초보 Views9984
    Read More
  4. DB 생성 오류 질문입니다.

    Date2010.03.24 By노스 Views12492
    Read More
  5. 날짜함수 문의

    Date2010.03.24 By초보 Views12921
    Read More
  6. 엔터 개행문자 역슬래쉬 문제

    Date2010.03.24 By초보 Views26550
    Read More
  7. grails에서 사용이 가능한 방법이 있나요?

    Date2010.03.23 Bynsky13 Views13680
    Read More
  8. 마이그레이션 툴문의

    Date2010.03.23 Bywebdoors Views10497
    Read More
  9. cast 연산쿼리 성능 질문드립니다~

    Date2010.03.22 By파란시인 Views12687
    Read More
  10. JVM terminated. Exit code=13 이런 코드가 나와서 cubridmanager가 실행 안됩니다.

    Date2010.03.19 By검신81 Views22674
    Read More
  11. cubridmanager 의 호스트 목록이 가끔 사라집니다.

    Date2010.03.19 By하야로비 Views9975
    Read More
  12. mysql 쿼리 변환 질문 입니다.

    Date2010.03.16 By초보 Views12201
    Read More
  13. 오라클과 큐브리드중 어느걸 도입해야하는지 고민중입니다.

    Date2010.03.16 By신의손 Views10475
    Read More
  14. 큐브리드 R2.1 PHP확장모듈 관련

    Date2010.03.15 By차오이 Views12871
    Read More
  15. 저장 프로시저 작성법

    Date2010.03.14 Bywebdoors Views16379
    Read More
  16. mysql에서는 빠른데 큐브리드에서 쿼리를 포문으로 돌려 여러번 실행시 너무 오래 걸립니다.

    Date2010.03.13 By초보 Views12918
    Read More
  17. 큐브리드 모델링 툴

    Date2010.03.13 Bywebdoors Views12246
    Read More
  18. CUBRID PHP Extension 이용시 에러 해결 방법??

    Date2010.03.11 By요한 Views12795
    Read More
  19. BIT형 데이터에 대한 where ... IN 쿼리

    Date2010.03.10 By소라게 Views10764
    Read More
  20. portable용 cubrid 제작이 가능할까요?

    Date2010.03.10 Byletsgolee Views10240
    Read More
  21. 두 쿼리의 결과값을 빼려고 합니다.

    Date2010.03.09 By지니보이 Views15609
    Read More
  22. 큐브리드 설치후, 실행오류 발생

    Date2010.03.08 By챔프 Views11230
    Read More
Board Pagination Prev 1 ... 167 168 169 170 171 172 173 174 175 176 ... 201 Next
/ 201

Contact Cubrid

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