Apache
http://www.apache.org/dist/ 에서 버전별로 다운.
./configure --prefix=/usr/local/apache \
--enable-modules=so \
--enable-module=shared \
--enable-mods-shared=all \
--enable-so \
--enable-ssl \
--enable-rewrite \
--enable-rule=SHARED_CORE \
--enable-mods-shared=ssl \
--with-ssl \
--with-mpm=prefork
PHP
./configure \
--prefix=/usr/local/php \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-pdo-mysql=/usr/local/mysql \
--with-config-file-path=/usr/local/apache/conf \
--disable-debug \
--disable-ipv6 \
--enable-bcmath \
--enable-calendar \
--enable-dbase \
--enable-exif \
--enable-force-cgi-redirect \
--enable-ftp \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mailparse \
--enable-maintainer-zts \
--enable-mbregex \
--enable-mbstring \
--enable-mod-charset \
--enable-safe-mode \
--enable-sigchild \
--enable-soap \
--enable-sockets \
--enable-static \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--enable-track-vars \
--enable-trans-id \
--enable-url-include \
--enable-wddx \
--enable-zend-multibyte \
--enable-zip \
--with-bz2 \
--with-charset=utf8 \
--with-curl \
--with-freetype-dir=/usr/local/lib \
--with-gd \
--with-gdbm=/usr \
--with-gettext \
--with-iconv \
--with-imap \
--with-imap-ssl \
--with-jpeg-dir=/usr \
--with-kerberos \
--with-language=korean
--with-ldap \
--with-libexpat-dir \
--with-libxml-dir=/usr \
--with-mcrypt \
--with-mod_charset \
--with-openssl \
--without-sqlite \
--with-png-dir=/usr \
--with-snmp \
--with-ttf \
--with-xml \
--with-xml2 \
--with-xmlrpc \
--with-zlib \
--with-gd=/usr/local/php/ext/gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr/lib \
--with-zlib-dir=/usr
MySQL
./configure --prefix=/opt/mysql \
--localstatedir=/opt/mysql/data \
--with-unix-socket-path=/tmp/mysql.sock \
--sysconfdir=/etc \
--with-mysqld-user=mysql \
--with-big-tables \
--with-plugins=innobase \
--with-mysqld-ldflags=-all-static \
--with-client-ldflags=-all-static \
--without-debug \
--enable-assembler \
--with-charset=utf8 \
--with-collation=utf8_general_ci \
--with-extra-charsets=all \
--with-gnu-ld
[출처] Apache + Php + Mysql configure|작성자 하얀마
'Code Snippets > linux' 카테고리의 다른 글
커널버전 및 배포판버전 확인 (0) | 2014.08.12 |
---|---|
리눅스서버 유저계정 생성 (0) | 2014.08.11 |
GD라이브러리 설치 (0) | 2014.08.07 |
리눅스의 디렉토리 구조 (0) | 2014.08.06 |
wget (0) | 2014.08.01 |