APM 설정  -  리눅스  2015. 7. 2. 21:49

공유하기

MySQL

cmake \
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
-DMYSQL_UNIX_ADDR=/usr/local/mysql/tmp/mysql.sock \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DWITH_EXTRA_CHARSETS=all \
-DMYSQL_DATADIR=/usr/local/mysql/data \
-DENABLED_LOCAL_INFILE=1 \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_ARCHIVE_STORAGE_ENGINE=1 \
-DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DWITH_READLINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DMYSQL_USER=mysql \
-DMYSQL_TCP_PORT=3306 \
-DENABLE_DOWNLOADS=1


apache

./configure \
--prefix=/usr/local/apache \
--enable-rule=SHARED_CORE \
--enable-so \
--enable-authn-alias \
--enable-cache \
--enable-file-cache \
--enable-mem-cache \
--enable-disk-cache \
--enable-rewrite \
--enable-ssl \
--enable-cgid \
--enable-shared=max \
--enable-modules=shared \
--enable-mods-shared=all \
--enable-proxy=shared \
--enable-proxy-ajp=shared \
--enable-module=so \
--with-mpm=event \
--enable-dav \
--enable-cgi \
--enable-cgid \
--enable-vhost-alias \
--with-ssl \
--with-mpm=prefork \
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr-util \
--with-pcre=/usr/local/pcre \
--enable-forward=shared \
--enable-deflate=shared \
--enable-headers=shared \
--enable-include=shared \
--enable-rewrite=shared


PHP

./configure \
--prefix=/usr/local/php \
--with-libdir=lib64 \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-pdo-mysql=/usr/local/mysql \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--with-pear=/usr/share/php \
--enable-sysvsem=yes \
--enable-sysvshm=yes \
--enable-ftp=yes \
--enable-inline-optimization \
--enable-ctype \
--enable-exif \
--enable-gd-native-ttf \
--enable-mbstring \
--enable-mod-charset \
--enable-sockets \
--enable-static \
--enable-xml \
--enable-sigchild \
--enable-maintainer-zts \
--enable-mbregex \
--enable-fpm \
--enable-zip \
--enable-soap \
--enable-pcntl \
--enable-bcmath \
--enable-shmop \
--enable-intl \
--enable-calendar \
--enable-opcache \
--with-iconv-dir=/usr/local \
--disable-debug \
--disable-posix \
--disable-tokenizer \
--with-freetype-dir=/usr/local/freetype \
--with-ldap \
--with-ldap-sasl \
--with-gettext \
--with-openssl \
--with-curl=/usr/local \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--with-zlib \
--with-bz2 \
--with-iconv-dir=/usr/local \
--with-xmlrpc \
--with-kerberos \
--with-libxml-dir \
--with-mcrypt \
--with-mhash

'리눅스' 카테고리의 다른 글

google bot 차단  (0) 2015.07.02
mod_deflate  (0) 2015.07.02
syntaxHighlighter  (0) 2014.04.10
XE에서 SyntaxHighlighter 사용  (0) 2014.04.03
webalizer 설정  (0) 2014.03.31

Share to Facebook Share to Twitter Share to MySpace 다음구독 한rss구독