³ë¹«Çö ´ëÅë·É ¹è³Ê
  ±è¼ºÅÂÀÇ Tech Tips(Linux, PHP, Apache, DBMS, Mobile)
  http://www.supersky.pe.kr  
¾È³çÇϽʴϱî? ±è¼ºÅÂÀÔ´Ï´Ù.
Linux, Apache, PHP, Mysql, Mobile °ü·Ã Tech Tips Á¤º¸¸¦ Á¦°øÇÕ´Ï´Ù.
 
<<   2024 Nov   >>
S M T W T F S
272829303112
3456789
10111213141516
17181920212223
24252627282930
1858762 1150
  
DNS Powered by DNSEver.com
  ++ [Æß] PHP INSTAL  -  2008/05/23 12:12

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(¿ù)







      << prev     1 ...  42  43  44  45  46  47  48  49  50 ...  163     next >>