Print
카테고리: [ Apache HTTP Server ]
조회수: 1870

1. 개요

Apache HTTP Server 설치 시에 APR Library와 연계하는 방법이다.


2. --with-included-apr 방식

APR 소스를 Apache 소스 디렉토리의 srclib에 넣어놓은 다음 한번에 빌드하는 방식이다.

$ cp -r apr-1.5.2 httpd-2.4.23/srclib/apr
$ cp -r apr-util-1.5.4 httpd-2.4.23/srclib/apr-util

복사할 때 디렉토리의 빌드 넘버를 제거해야 한다는 점이 중요하다.


3. --with-apr 방식

이미 서버에 빌드되어 존재하는 APR을 사용하는 경우이다. --with-apr로 지정된 경로 하위의 bin에는 apr-config가 있어야 한다.