용오름체험휴양마을영농조합법인 / 홍천 용오름캠핑장 팸투어 다녀왔어요.

용오름체험휴양마을영농조합법인 / 홍천 용오름캠핑장 팸투어 다녀왔어요. 강원도 홍천 서석면에 위치해있으며 1급수 용오름계곡 바로 옆에 있습니다.홍천군 1등 마을로 마을에서 직접 관리하는 용오름캠핑장,펜션 10개를 운영하고 있으며 각종 모임이 가능하도록 식당,회의실,야외무대가 설치되어 있습니다.홍천군 1등 마을답게 캠핑장,펜션 마을 전지역 wi-fi 사용이 가능하며 매년 봄 팸투어 실시, 여름엔 마을에서 재배한 홉으로 직접만든 맥주축제,마리소리 음악축제 를 열고 있습니다.계곡의 경우 수심이 다양하여 다이빙 포인트가 2곳이 있으며 아이들이 안전하게 물놀이를 할 수 있는 곳도 여러 곳 있습니다. 홍천 용오름캠핑장 팸투어 다녀왔어요. 요즘은 농산촌체험마을에서 캠핑과 여러프로그램을 같이 하는 곳이 추세더라고요. 아미산이 둘러쌓인 청정계곡이 흐르는 아름다운 용오름체험휴양마을 에서 운영하는 홍천 용오름캠핑장 팸투어 다녀왔어요. 테크 앞 강이... 붕어빵 가족의 담너머 세상구경 https://m.blog.naver.com/1092119/220711235599 가을여행-홍천여행- 홍천 용오름 마을 첫째날 여행의 계절 가을입니다. 요즘 저희는 강원도에 꽃힌 상태인지라...카페 행복한 이티씨와 함께하는 홍천 용오름 마을 1박2일 체험에 참가를 하였답니다! 평소 체험 시간보다 조금 늦은 출발을 해서 차가 밀리지 않으려나... 귀여운 단지 https://m.blog.naver.com/sanguidan/50181593653 용오름마을 캠핑장 여름휴가의 시즌이다.. 강원도의 계곡과 시원함을 만끽하기 위해 캠핑장을 검색하다 우연히 알게 된 홍천의 용오름 캠핑장.. 성수기라 캠핑장 요금들이 사악하다 용오름캠핑장 옆엔 해미르 캠핑장이 있는데... ★살로몬의 잇츠캠핑★ https://m.blog.naver.com/freeguy9040/20163628934 맥주효모로 만든 용오름맥주마을 바쏘 맥주샴푸와 맥주마스크팩... 1988년까지 맥주 원료인

[리눅스] freetds설치 및 php 연동하기

[리눅스] freetds설치 및 php 연동하기

카페24 서버호스팅 Guide

freetds설치 및 php 연동하기

freetds설치 및 php 연동하기

# 설치환경

- CentOS 5.x (64bit)

- php-5.2.17

- freetds-0.91

설치 위치 : /usr/local/freetds

1. freetds 설치

- freetds 스테이블 버전을 다운로드 한 후 설치한다.

[root@cafe24 src]# wget http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz

[root@cafe24 src]# tar zxvf freetds-stable.tgz

[root@cafe24 src]#

[root@cafe24 src]# cd freetds-0.91

[root@cafe24 freetds-0.91]# ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --disable-odbc --disable-debug --enable-dbmfix --enable-msdblib

.

.

.

.

config.status: creating win32/version.rc

config.status: creating win32/freetds.nsh

config.status: creating vms/Makefile

config.status: creating include/config.h

config.status: include/config.h is unchanged

config.status: executing depfiles commands

config.status: executing libtool commands

[root@cafe24 freetds-0.91]# make && make install

.

.

.

.

make[2]: Entering directory `/root/src/freetds-0.91'

make[2]: Nothing to be done for `install-exec-am'.

/bin/sh ./mkinstalldirs /usr/local/freetds/etc

if test ! -f /usr/local/freetds/etc/freetds.conf; then

/usr/bin/install -c -m 644 ./freetds.conf /usr/local/freetds/etc/freetds.conf;

fi

if test ! -f /usr/local/freetds/etc/locales.conf; then

/usr/bin/install -c -m 644 ./locales.conf /usr/local/freetds/etc/locales.conf;

fi

make[2]: Leaving directory `/root/src/freetds-0.91'

make[1]: Leaving directory `/root/src/freetds-0.91'

[root@cafe24 freetds-0.91]#

[root@cafe24 freetds-0.91]#

2. phpize를 이용하여 모듈 생성

- php 설치 원본 소스 디렉토리로 이동한 다음과 같이 phpize를 이용하여 모듈을 생성한다.

[root@cafe24 freetds-0.91]# cd /root/src/php-5.2.17/ext/mssql/

[root@cafe24 mssql]# /home/APM/php/bin/phpize

Configuring for:

PHP Api Version: 20041225

Zend Module Api No: 20060613

Zend Extension Api No: 220060519

[root@cafe24 mssql]#

[root@cafe24 mssql]# ./configure --with-mssql=/usr/local/freetds/ --with-php-config=/home/APM/php/bin/php-config

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

creating libtool

appending configuration tag "CXX" to libtool

configure: creating ./config.status

config.status: creating config.h

[root@cafe24 mssql]# make

--------------------------------------------------------------------------------------------------

Libraries have been installed in:

/root/src/php-5.2.17/ext/mssql/modules

If you ever happen to want to link against installed libraries

in a given directory, LIBDIR, you must either use libtool, and

specify the full pathname of the library, or use the `-LLIBDIR'

flag during linking and do at least one of the following:

- add LIBDIR to the `LD_LIBRARY_PATH' environment variable

during execution

- add LIBDIR to the `LD_RUN_PATH' environment variable

during linking

- use the `-Wl,--rpath -Wl,LIBDIR' linker flag

- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.

--------------------------------------------------------------------------------------------------

Build complete.

Don't forget to run 'make test'. [root@cafe24 mssql]# make install Installing shared extensions: /home/APM/php/lib/php/extensions/no-debug-non-zts-20060613/ [root@cafe24 mssql]#

3. php.in 파일에 모듈 등록

- php.ini 파일 가장 하단에 다음과 같이 추가합니다.

[root@cafe24 mssql]# vi /home/APM/apache/conf/php.ini

--------------------------------------------------------------------------------------------------

[freetds]

extension_dir=/home/APM/php/lib/php/extensions/no-debug-non-zts-20060613 <-- 추가합니다.

extension="mssql.so"

--------------------------------------------------------------------------------------------------

[root@cafe24 mssql]# php -m

[PHP Modules]

bcmath

calendar

ctype

curl

date

dba

dbase

dom

eAccelerator

exif

filter

ftp

gd

gettext

hash

iconv

imap

json

ldap

libxml

mbstring

mcrypt

mhash

mssql

mysql

pcre

PDO

pdo_sqlite

posix

Reflection

session

SimpleXML

sockets

SPL

SQLite

standard

tokenizer

wddx

xml

xmlreader

xmlwriter

Zend Optimizer

zlib

[Zend Modules]

Zend Optimizer

eAccelerator

[root@cafe24 mssql]#

from http://blog.cafe24.com/1471 by ccl(S)

댓글

이 블로그의 인기 게시물

[2020 정보처리기사 실기 - 프로그래밍 언어 활용] 2. 언어 특성 활용...

phpmyadmin 설치 차분히 따라해보자

용오름체험휴양마을영농조합법인 / 홍천 용오름캠핑장 팸투어 다녀왔어요.