database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
ㆍSybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Sybase Q&A 376 게시물 읽기
No. 376
Re: jinuki 님 부탁드립니다.
작성자
jinuki
작성일
2002-04-26 11:18
조회수
5,698

www.php.net 에서 발췌한 내용인데요...

도움이 되실듯 해서 다시 올립니다..

 

elee@kinwai.net

14-Apr-2002 10:29

 

The belows procedures works on the following configuration: Mandrake linux

8.2,MS Sql server 2000, windows 2000 server, PHP ver 4.12, apache

1.3.24,Freetds 0.53.

 

Configure Freetds

1. Download Freetds 0.53 at www.freetds.org

2. ./configure --prefix=/usr/local/freetds --with-tdsver=7.0

3. make

4. make install

5. Edit /usr/local/freetds/etc/freetds.conf

6. Add

[MyServer70] DSN for PHP

host = 10.23.52.114 MS SQL Server IP

port = 1433 MS SQL Default Port

tds version = 7.0 MS SQL 2000 Version No.

client charset = UTF-8 Charset Encoding, it can be omitted if you

don't want to disply in unicode

 

Configure PHP 4.12

1. Download PHP4 from www.php.net

2. ./configure --with-sybase=/usr/local/freetds --with-apache=../{Apache

Path} --enable-track-vars

3. copy all files in /usr/local/freetds/lib/ to /usr/lib

4. make

5. make install

 

Configure Apache 1.3.24

1. ./configure --activate-module=src/modules/php4/libphp4.a

2. make

3. make install

4. cp php.ini-dist /usr/local/lib/php.ini

5. Edit Your httpd.conf or srm.conf file and add;

AddType application/x-httpd-php .php

6. /usr/local/apache/bin/apachectl start

 

Feel free to email to us @ aikok@netfront.net or elee@kinwai.net

German Chu & Eagle Lee

 

 

 

jd@keane.com

24-Apr-2002 02:36

 

Connecting to MSSQL 7 on UNIX/Apache/php4.1.2. I followed a bunch of

instructions below from folks using Linux and other configurations...so

give this a try, it may work.

 

download freetds from www.freetds.org

configure arguments --with-prefix=/usr/local/freetds --with-tdsver=7.0

 

edit freetds.conf in /usr/local/freetds/etc/freetds.conf

[MyServer70]

host = XX.XX.XX.XXX(your MSSQL IP)

port = 1433

tds version = 7.0

client charset = UTF-8

 

reconfigure PHP using --with-sybase=/usr/local/freetds/ and all of your

normal args.

 

restart apache and it works...well it did for me. Good luck

 

jd

[Top]
No.
제목
작성자
작성일
조회
380[질문]sp를 만들고 자바에서 호출시 [1]
신재철
2002-05-02
6280
379리눅스에서 에스큐엘2000
Sybase 설치법
2002-05-01
5182
375db lock 이걸린 것을 보려면 어떻게 해야하나요 [1]
anaki
2002-04-26
6092
374jinuki 님 부탁드립니다. [1]
김수환
2002-04-23
5734
376┕>Re: jinuki 님 부탁드립니다.
jinuki
2002-04-26 11:18:18
5698
377 ┕>Re: Re: jinuki님 한번더 도와주세요 ㅠ_ㅠ
김수환
2002-04-30 22:20:26
9558
378  ┕>Re: Re: Re: jinuki님 한번더 도와주세요 ㅠ_ㅠ
Sybase 설치법
2002-05-01 17:43:40
7581
373설치에 관한 질문입니다. [1]
김상진
2002-04-22
5491
372central 문의 [2]
기준
2002-04-20
5577
371백업 device의 용도는 무엇인가요? [2]
auxo
2002-04-16
5547
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.019초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다