PHP 4.4.X
Source : http://kr.php.net/get/php-4.4.8.tar.gz/from/kr2.php.net/mirror
# ¾Æ·¡ ³»¿ë Ãß°¡
# /usr/local/lib ¿¡¼ ÀÌ¹Ì ¼³Ä¡µÈ ¶óÀ̺귯¸®µîÀ» ÀÚµ¿À¸·Î ã½À´Ï´Ù.
# ºÒÇÊ¿äÇÏ°Ô ÇØ´ç°æ·Î¸¦ ÁöÁ¤ÇØÁÙ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.
]# vi /etc/ld.so.conf
# ÃÖ»ó´Ü¿¡ µî·Ï
/usr/local/lib
]# ldconfig
CFLAGS="-O3 -march=i686 -funroll-loops -fomit-frame-pointer" \
]# ./configure \
--with-apxs=/usr/www/apache/bin/apxs \
--with-config-file-path=/usr/www/apache/conf \
--with-mysql=/usr/www/mysql \
--with-gd \
--with-zlib \
--with-freetype \
--with-png-dir \
--with-jpeg-dir \
--with-iconv \
--with-mod_charset \
--with-language=korean \
--with-charset=euc_kr \
--enable-ftp \
--enable-calendar \
--enable-magic-quotes \
--enable-sockets \
--enable-system \
--enable-track-vars \
--disable-debug
]# make
]# make install
]# vi /usr/local/apache-1.3.37/conf/httpd.conf
# 420 Line Modify
#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html index.htm
</IfModule>
</IfModule>
<IfModule !mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.html index.htm
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.html index.htm
</IfModule>
</IfModule>
</IfModule>
# 750 Line Modify
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
</IfModule>
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .html .htm .php3 .inc
AddType application/x-httpd-php-source .phps
</IfModule>
ÃÖÁ¾¼öÁ¤ÀÏ : 08.02.18(¿ù)