




| [¼³Ä¡/¼³Á¤] FreeTDS - PHP¿¡¼ MS-SQL¿¡ Á¢±ÙÇϱâ | |||||
|---|---|---|---|---|---|
| ±Û¾´ÀÌ |
![]() ![]() ¿À»ç¹«¿¤ |
³¯ Â¥ | 06-05-05 10:19 | Á¶ ȸ | 5668 |
|
1. Install MySQL client
# cd /usr/local/src # wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.21.tar.gz/from/http://mysql.byungsoo.net/ # tar xvpfz mysql-5.0.21.tar.gz # cd mysql-5.0.21 # ./configure --with-pthread --enable-thread-safe-client --without-debug --without-docs --without-bench \ --enable-assembler --with-charset=euckr --without-server # make # make install 2. Install Apache # cd /usr/local/src # wget http://mirror.apache.or.kr/httpd/httpd-2.2.2.tar.bz2 # tar xvpfj httpd-2.2.2.tar.bz2 # cd cd httpd-2.2.2 # ./configure --enable-so # make # make install 3. Install FreeTDS # cd /usr/local/src # wget http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz # tar xvpfz freetds-stable.tgz # cd freetds-0.63 # ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --disable-odbc --disable-debug --enable-msdblib # make # make install 4. Install PHP # cd /usr/local/src # wget http://kr.php.net/get/php-5.1.3.tar.bz2/from/this/mirror # tar xvpfj php-5.1.3.tar.bz2 # cd php-5.1.3 # ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql \ --with-mysqli=/usr/local/bin/mysql_config --enable-track-vars --enable-trans-sid --enable-ftp \ --disable-debug # make # make install # cp php.ini-dist /usr/local/lib/php.ini 5. Install MS-SQL module # cd /usr/local/src/php-5.1.3/ext/mssql # phpize # ./configure --with-mssql=/usr/local/freetds # make # make install # vi /usr/local/lib/php.ini extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20050922/" extension=mssql.so |
|||||



±¤»ç¶û 06-05-08 11:13


JustDoItNow 06-06-05 11:38



