โ—โ—‘โ—โ—‘โ—โ—‘-PHP_4 ๋ฒ„์ „-โ—โ—‘โ—โ—‘โ—โ—‘โ—โ—‘

โ–ฃโ–ฃโ–ฃโ–ฃ-1. ์ผ๋ฐ˜์ ์ธ ์‚ฌ์šฉ ์˜ต์…˜ <๋…๋ฆฝ๋ฐฉ์‹>-โ–ฃโ–ฃโ–ฃโ–ฃ
./configure --with-apxs=/usr/local/aache/bin/apxs \
--disable-debug --enable-ftp --enable-inline-optimization \
--enable-magic-quotes --enable-mbstring \
--enable-mm=shared --enable-safe-mode --enable-track-vars \
--enable-trans-sid --enable-wddx=shared \
--enable-xml --with-dom --with-gd --with-gettext \
--with-mysql=/usr/local/mysql --with-regex=system \
--with-xml --with-zlib-dir=/usr/lib \
--with-language=korean --with-charset=euckr \
--with-config-file-path=/usr/local/apache/conf

โ–ฃโ–ฃโ–ฃโ–ฃ-2. [SSL+OPENSSL+JAVA] ์„ค์น˜ ์ „์šฉ ์˜ต์…˜ <๋…๋ฆฝ์„ค์น˜>-โ–ฃโ–ฃโ–ฃโ–ฃ
./configure  --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local \
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local \
--with-openssl=/usr/local/ssl --with-gif-dir=/usr/local \
--with-tif-dir=/usr/local --with-java=/usr/local/java \
--with-gd=/usr/local --with-freetype=/usr/local/include/freetype2 \ 
--with-ming=/usr/local --with-cpdflib=/usr/local \
--with-gettext --with-kerberos --with-swf-dir=/usr/local/swf \
--with-mm=/usr/local/mm --with-mhash=/usr/local \
--with-mcrypt=/usr/local --with-mod_charset --with-charset=euc_kr \
--with-regex=php --with-xml --with-imap=/usr/local/imap \
--with-imap-ssl=/etc/mail/certs --with-ttf=/usr/local \
--with-t1lib=/usr/local --enable-module=so --enable-gd-native-ttf \
--enable-ftp --enable-sockets --enable-sysvsem  --enable-sysvshm \
--enable-track-vars --enable-freetype-4bit-antialias-hack \
--enable-calendar --enable-sigchild --enable-magic-quotes \
--enable-trans-sid --enable-inline-optimization --enable-bcmath

โ—โ—‘โ—โ—‘โ—โ—‘โ—โ—‘-PHP_5 ๋ฒ„์ „[openssl+webssl]-โ—โ—‘โ—โ—‘โ—โ—‘โ—โ—‘

CFLAGS='-O2 -I/usr/local/openssl -DEAPI' ./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--disable-debug --enable-ftp \
--enable-inline-optimization --enable-magic-quotes \
--enable-mbstring --enable-mm=shared --enable-safe-mode --enable-track-vars \
--enable-trans-sid --enable-wddx=shared --enable-xml --with-dom --with-gd  \
--with-gettext --with-mysql=/usr/local/mysql  \
--with-regex=system --with-xml --with-zlib-dir=/usr/lib \
--with-language=korean --with-charset=euc_kr \
--with-config-file-path=/usr/local/httpd/conf

โ™ฅโ™ฅโ™ฅโ™ฅโ™ฅโ™ฅ-CENTOS5๋ฒ„์ „ PHP-5 [์ฃผ๋กœ ๋‚ด๊ฐ€ ์‚ฌ์šฉํ•˜๋Š” ์˜ต์…˜]-โ™ฅโ™ฅโ™ฅโ™ฅโ™ฅโ™ฅโ™ฅโ™ฅโ™ฅ

โ˜…โ˜…-1. apache ์†Œ์Šค ํ•˜๊ณ  ๊ฐ™์ด ์„ค์น˜์‹œ ์˜ต์…˜-โ˜…โ˜…
./configure --prefix=/usr/local/php --with-apache=../apache_1.3.37 \
--with-exec-dir=/usr/local/bin --with-config-file-path=/usr/local/apache/conf \
--with-mysql=/usr/local/mysql --with-gd --with-gd-dir=/usr/local/  \
--with-jpeg-dir=/usr --with-png --with-freetype-dir=/usr --with-openssl \
--with-mod_charset --with-language=korean --with-charset=euc_kr --with-gdbm \
--with-xml --with-regex=php --with-iconv --enable-module=so \
--enable-memory-limit --enable-track-vars --enable-ftp --enable-sockets \
--enable-trans-sid --enable-magic-quotes --enable-sysvsem  --enable-sysvshm \
--enable-mailparse --enable-sigchild --enable-calender --enable-inline-optimization \ 
--disable-debug --enable-mbstring --with-gettext \
--with-zlib-dir=/usr/lib

โ˜…โ˜…-2. ๋…๋ฆฝ์ ์œผ๋กœ ๋”ฐ๋กœ ์„ค์น˜์‹œ ์‚ฌ์šฉ์˜ต์…˜-โ˜…โ˜…
./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql \
--with-mysql-sock=/usr/local/mysql_data/mysql.sock \
--with-gd --with-gd-dir=/usr/local/ --with-jpeg-dir=/usr --with-png \
--with-freetype-dir=/usr --with-mod_charset \
--with-language=korean --with-charset=euc_kr --with-gdbm \
--with-xml --with-regex=php --with-iconv --enable-module=so \
--enable-memory-limit --enable-track-vars --enable-ftp --enable-sockets \
--enable-trans-sid --enable-magic-quotes --enable-sysvsem  --enable-sysvshm \
--enable-mailparse --enable-sigchild --enable-calender --enable-inline-optimization \ 
--disable-debug --enable-mbstring --with-gettext --with-zlib-dir=/usr/local


+ Recent posts