Skip to content

조회 수 9597 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

간단설치
-------------------------------------------
tar xzpf freetds-stable.tgz
cd freetds-0.62.4/
./configure --prefix=/usr/local/freetds --with-tdsver=8.0 \
--enable-msdblib --enable-dbmfix --with-gnu-ld --enable-shared \
--enable-static
make
make install
cd /usr/local/freetds
cp ./lib/* /usr/lib   # 라이브러리 파일을 복사한다
vi ./etc/freetds.conf  # 설정파일 수정

phpinfo 에 다음이 보이면 된다.

 

sybase

 Sybase Support  enabled 

 Allow Persistent Links  Yes 

 Persistent Links  0/unlimited 

 Total Links  0/unlimited 

 Application Name  PHP 4.3.10 

 Client API Version  $Id: dblib.c,v 1.160.2.2 2004/06/01 08:58:42 freddy77 Exp $ 

 
1. www.freetds.org 에서 freetds 최신버전을 다운 받는다
여서 설치할 버전은 0.61 버전이다
모든 작업은 root로 작업한다.
freetds-0.61.tgz 파일을 /tmp에 저장

# tar zxvf freetds-0.61.tgz
# cd freetds-0.61
# ./configure --prefix=설치할 경로(/usr/local/freetds) --with-tdsver=8.0 --enable-msdblib --enable-dbmfix --with-gnu-ld --enable-shared --enable-static

--with-tdsver=8.0 --> 연결할 mssql server가 mssql 2000 일때 8.0, mssql 7 은 7.0 이다
# make
# make install
# cd /usr/local/fretds
# cp ./lib/* /usr/lib   라이브러리 파일을 복사한다
# vi ./etc/freetds.conf  설정파일 수정

이부분을 주석을 제거
[MyServer70]
        host = mssql server ip
        port = 1433
        tds version = 8.0 --? mssql 7 은 7.0

2. apache 설치

기존 설치상의 변경할 내용 없다. 그냥 기존 대로 설치하면 된다

3. php설치

소스 컴파일 시
#./configure --with-sybase=/usr/local/freetds 옵션을 추가해서 컴파일 한다.

4. apache 재시작
apachectl restart --------> 사용하지 않는다. 이전 설정이 그대로 적용
# apachectl stop
# apachectl start


  1. php 5.1.4 인데 ZipArchive() 사용하기 --enable-zip

    Date2009.06.03 ByADMINPLAY Views13302
    Read More
  2. Ubuntu 7.04 Server 에 Zend Optimizer 3.2.8 설치하기!

    Date2009.07.19 ByADMINPLAY Views11638
    Read More
  3. PHP 언어디코딩

    Date2009.07.18 ByADMINPLAY Views11535
    Read More
  4. PHP 컴파일하고 Make 할때 lltdl을 찾을 수 없다면서 중지...

    Date2009.06.01 ByADMINPLAY Views11496
    Read More
  5. SENDMAIL SPAMASSASSIN 관리 local.cf

    Date2009.07.18 ByADMINPLAY Views11403
    Read More
  6. php.ini 세션유지 시간 설정

    Date2009.06.04 ByADMINPLAY Views10967
    Read More
  7. PHPMyAdmin 오류조치법 The mbstring PHP extension was ...

    Date2009.01.20 ByADMINPLAY Views10861
    Read More
  8. Freetds 설치 참고 (sybase)

    Date2009.06.04 ByADMINPLAY Views10719
    Read More
  9. php 명령어 이용 phpinfo 확인

    Date2009.06.04 ByADMINPLAY Views10238
    Read More
  10. ini_set("allow_url_fopen", 1); -- allow_url_fopen = Of...

    Date2009.06.01 ByADMINPLAY Views10126
    Read More
  11. PHPMyAdmin 오류조치법 Your PHP MySQL library version ...

    Date2009.01.20 ByADMINPLAY Views10023
    Read More
  12. php.ini 옵션 한글설명

    Date2009.07.18 ByADMINPLAY Views9628
    Read More
  13. freetds 설치 (php로 외부 MS-SQL 서버에 접속 사용하기)

    Date2009.05.18 ByADMINPLAY Views9597
    Read More
  14. [php모듈] php 소스 암호화 하기 - php_screw-1.5

    Date2013.03.26 ByADMINPLAY Views9531
    Read More
  15. DBA: Could not find necessary header file 발생시 대처법

    Date2009.06.04 ByADMINPLAY Views9251
    Read More
  16. Fedora 및 CentOs 에서 Imap PHP 연동시 에러가날때

    Date2009.06.01 ByADMINPLAY Views9061
    Read More
  17. call undefined mysql connect 와 같은 mysql 라이브러리...

    Date2009.06.04 ByADMINPLAY Views9016
    Read More
  18. php mysql에 insert시 싱글쿼츠(홑따옴표) 입력 처리 (mag...

    Date2013.09.07 ByADMINPLAY Views8911
    Read More
  19. DB 관리 : phpmyadmin

    Date2008.12.10 ByADMINPLAY Views8780
    Read More
  20. php 재 컴파일 없이 필요한 모듈 올리기

    Date2008.12.14 ByADMINPLAY Views8738
    Read More
Board Pagination Prev 1 2 3 Next
/ 3

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234