Notice
Recent Posts
Recent Comments
준호씨의 블로그
how to get apache build options 본문
반응형
change directory to your apache directory
/usr/local/Cellar/httpd24/2.4.23_2
then go to build directory
cd build
see the config.nice file
$ cat config.nice
#! /bin/sh
#
# Created by configure
CC="clang"; export CC
"./configure" \
"--enable-layout=Homebrew" \
"--enable-mods-shared=all" \
"--enable-unique-id" \
"--enable-ssl" \
"--enable-dav" \
"--enable-cache" \
"--enable-logio" \
"--enable-deflate" \
"--enable-cgi" \
"--enable-cgid" \
"--enable-suexec" \
"--enable-rewrite" \
"--with-apr=/usr/local/opt/apr" \
"--with-apr-util=/usr/local/opt/apr-util" \
"--with-pcre=/usr/local/opt/pcre" \
"--with-ssl=/usr/local/opt/openssl" \
"--with-z=/usr/local/opt/zlib" \
"--with-mpm=prefork" \
"--with-port=8080" \
"--with-sslport=8443" \
"CC=clang" \
"$@"
you can see the build options
you can check by httpd -V also.
cd ../bin
$ ./httpd -V
Server version: Apache/2.4.23 (Unix)
Server built: Sep 27 2016 15:41:45
Server's Module Magic Number: 20120211:61
Server loaded: APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/usr/local/Cellar/httpd24/2.4.23_2"
-D SUEXEC_BIN="/usr/local/Cellar/httpd24/2.4.23_2/bin/suexec"
-D DEFAULT_PIDLOG="/usr/local/var/run/apache2/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/usr/local/etc/apache2/2.4/mime.types"
-D SERVER_CONFIG_FILE="/usr/local/etc/apache2/2.4/httpd.conf"
반응형
'개발이야기' 카테고리의 다른 글
독서 - 대살개문 (대한민국을 살리는 개발자 문화) (0) | 2017.01.15 |
---|---|
apache 빌드 옵션 확인 방법 (0) | 2017.01.13 |
IntelliJ 팁 - Editor Tabs 을 끄자 (0) | 2017.01.12 |
JetBrains Tools. Clion, PhpStorm, WebStorm, RubyMine, Rider, AppCode, DataGrip (0) | 2017.01.06 |
safari 에서 개발자 도구 사용하기 (0) | 2016.12.02 |
Comments