::: °­ÁÂ/¼Ò½º/¹®¼­ :::

°­ÁÂ/¼Ò½º/¹®¼­ ¼º°Ý¿¡ ¸ÂÁö ¾Ê´Â ±¤°í,ºñ¹æ,Áú¹®ÀÇ ±ÛÀº Áï½Ã »èÁ¦Çϸç
³»¿ëÀ» º¹»çÇÏ¿© »ç¿ëÇÒ °æ¿ì ¹Ýµå½Ã ÀÌ°÷(http://www.howto.pe.kr)À» Ãâó·Î ¸í½ÃÇÏ¿© ÁÖ¼¼¿ä


Category

  ±è¿µ´ë(2003-04-15 16:00:40, Hit : 8682, Vote : 1630
 [°­ÁÂ] Apache + MySQL + PHP4 + Zend Optimizer ¼³Ä¡

// Á¦   ¸ñ: Apache + MySQL + PHP4 + Zend Optimizer ¼³Ä¡
// ÀÛ¼ºÀÚ: ±è¿µ´ë( http://www.howto.pe.kr )

¼³Ä¡È¯°æ: Redhat 7.3, Kernel 2.4.18

óÀ½¿¡ Redhat ¹èÆ÷º» Àüü¸¦ ¼³Ä¡ÇÏ¸é ±âº»ÀûÀ¸·Î RPM(Redhat Package Manager) ¹öÀüÀ¸·Î À̹Ì
¼³Ä¡°¡ µÇ´Âµ¥ ÀÌ RPMÀº À©µµ¿ìÁîÀÇ ÀνºÅ緯ó·³ ÀÚµ¿À¸·Î ½ÇÇàÈ­ÀÏ°ú ȯ°æÀ» ¼³Á¤ÇØÁÖ°í
³ªÁß¿¡ ¾ðÀνºÅç±îÁö Æí¸®ÇÏ°Ô °ü¸®ÇØÁÖ´Â ¹æ¹ýÀ¸·Î¼­ ½Ã°£°ú °ü¸®½Ã°£À» Àý¾àÇØ ÁÝ´Ï´Ù¸¸
½ÇÇà¸ðµâ¸¸ ¼³Ä¡µÇ´Â°Íµµ ÀÖ¾î¹Ç·Î ¿©±â¼­´Â ÀÚ½ÅÀÇ ½Ã½ºÅÛ¿¡ ¸Â°Ô ÄÄÆÄÀÏÇÏ¿© ¼º´ÉÀ» ³ôÀÏ ¼ö ÀÖ´Â
¼Ò½º¼³Ä¡ ¹× ÄÄÆÄÀÏ ¹æ¹ýÀ¸·Î ÁøÇàÇØ °¡°Ú½À´Ï´Ù

ÀϹÝÀûÀÎ ¼Ò½ºÄÄÆÄÀÏÀÇ ¼ø¼­´Â ´ÙÀ½°ú °°½À´Ï´Ù.  
configure -> make -> make install
configure´Â »ç¿ëÇÏ´Â OS¶Ç´Â CPU ¹× ½Ã½ºÅÛ ¶óÀ̺귯¸® °Ë»ç, ±×¸®°í ÄÄÆÄÀϽÃÀÇ ¼±ÅûçÇ×µîÀ»
ÆľÇÇÏ¿© ±× °á°ú¸¦ ÄÄÆÄÀÏ(make)ÇÒ ¶§ ¹Ý¿µÀÌ µÇµµ·Ï ÇÕ´Ï´Ù.
make installÀº ÄÄÆÄÀÏµÈ ÆÄÀϵéÀ» »ç¿ëÀÚ°¡ ¿øÇÏ´Â À§Ä¡¿¡ º¹»çÇÏ¿© ½ÇÁ¦ ¼³Ä¡ÇÏ´Â ÀÛ¾÷ÀÔ´Ï´Ù

1.¼³Ä¡¿¡ ÇÊ¿äÇÑ ÆÄÀÏ ´Ù¿î¹Þ±â
  mysql-3.23.51.tar.gz  ( http://www.mysql.com/downloads/mysql-3.23.html )
  apache_1.3.27.tar.gz  ( http://www.apache.org/dist/httpd/ )
  php-4.1.2.tar.gz ( http://www.php.net/downloads.php )
  ZendOptimizer-1.3.1-Linux_glibc21-i386.tar.gz ( https://www.zend.com/store/products/zend-optimizer.php )

  ´Ù¿î¹ÞÀº ÆÄÀϵéÀ» /usr/local/src ¿¡ ÀúÀåÇÕ´Ï´Ù(¹°·Ð ´Ù¸¥°÷¿¡ ÀúÀåÇصµ ¹«°üÇÏÁö¸¸ °ü¸®ÀÇ Æí¸®¸¦ À§ÇØ
  /usr/local/src ¿¡ ÀúÀåÀ» Çß½À´Ï´Ù)

2.ÀÌ¹Ì RPMÀ¸·Î ¼³Ä¡µÈ ÆÐÅ°Áö Á¦°ÅÇϱâ (root ±ÇÇÑÀ¸·Î ÀÛ¾÷)
  ¸ÕÀú apache ¶Ç´Â mysql ¼­¹ö°¡ °¡µ¿ÁßÀÎÁö È®ÀÎÇÏ½Ã°í °¡µ¿ÁßÀ̶ó¸é stopÀ» ÇÕ´Ï´Ù
    [root@howto src]# /etc/rc.d/init.d/httpd stop      apache ¼­¹ö Á¾·á
    [root@howto src]# /etc/rc.d/init.d/mysqld stop     mysql ¼­¹ö Á¾·á

  Redhat ¹èÆ÷º»¿¡ ÀÇÇØ ÀÌ¹Ì ¼³Ä¡µÈ RPM µéÀÌ ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù(¾ø´Ù¸é 3¹øÀ¸·Î °Ç³Ê¶Ù¼¼¿ä)
    [root@howto src]# rpm -qa | grep apache    
    [root@howto src]# rpm -qa | grep mysql
    [root@howto src]# rpm -qa | grep php    

  ¿¹¸¦µé¾î apacheÀÇ °æ¿ì rpm -qa | grep apache ¸¦ ÇϰԵǸé
    apache-x.x.xx-xx
    apache-devel-x.x.xx-xx
  µÎ°³ÀÇ ÆÐÅ°Áö°¡ Ãâ·ÂµÇÁö¸¸ rpm -e apache ÇϰԵǸé ÀÇÁ¸¼ºÆÄÀϵéÀÌ ÀÖ´Ù°í ¿¡·¯¸¦ Ç¥½ÃÇÕ´Ï´Ù
  À̶§´Â ¸ÕÀú È­¸é¿¡ Ãâ·ÂµÈ ÀÇÁ¸¼º ÆÐÅ°ÁöµéÀ» ÇϳªÇϳª »èÁ¦ÇÕ´Ï´Ù
    [root@howto src]# rpm -e mod_perl
    [root@howto src]# rpm -e php
    [root@howto src]# rpm -e mod_ssl
    [root@howto src]# rpm -e mod_dav
    ...
  ÀÇÁ¸¼ºÀÌ ÀÖ´Â ÆÐÅ°Áö¸¦ ÀüºÎ Á¦°ÅÇÏ°í³ª¼­ ¾ÆÆÄÄ¡¸¦ Á¦°ÅÇÕ´Ï´Ù
    [root@howto src]# rpm -e apache
    [root@howto src]# rpm -e apache-devel
  ³ª¸ÓÁö php, mysql °ü·Ã ÆÐÅ°Áöµµ À§¿Í °°Àº ¹æ¹ýÀ¸·Î »èÁ¦ÇÕ´Ï´Ù
  
  ±×¸®°í /var/lib/mysql µð·ºÅ丮°¡ ÀÖ´Ù¸é »èÁ¦ÇÕ´Ï´Ù
  ÀÌ µð·ºÅ丮´Â ¹èÆ÷ÆÇÀÌ »ý¼º½ÃŲ °ÍÀ¸·Î mysql ÀÇ Å×ÀÌºí µ¥ÀÌÅ͵éÀÌ µé¾î ÀÖ½À´Ï´Ù
    [root@howto src]# rm -rf /var/lib/mysql

3.¾ÐÃàÇ®±â
  ´Ù¿î¹ÞÀº ¼Ò½ºÆÄÀϵéÀ» /usr/local/src µð·ºÅ丮¿¡¼­ ¾ÐÃàÀ» DZ´Ï´Ù

    [root@howto src]# tar zxvf mysql-3.23.51.tar.gz
    [root@howto src]# tar zxvf apache_1.3.27.tar.gz
    [root@howto src]# tar zxvf php-4.1.2.tar.gz
    [root@howto src]# tar zxvf ZendOptimizer-1.3.1-Linux_glibc21-i386.tar.gz

4.MySQL ¼³Ä¡
  ¾ÐÃàÀ» Ǭ mysql µð·ºÅ丮·Î À̵¿ÇÏ¿© configure ÇÕ´Ï´Ù
    [root@howto mysql-3.23.51]# ./configure --prefix=/usr/local/mysql --with-charset=euc_kr --localstatedir=/home/mysql/data

  --prefix=/usr/local/mysql  Àº ¼³Ä¡ µð·ºÅ丮¸¦ ÁöÁ¤ÇÏ°í
  --with-charset=euc_kr  mysql  ¿¡¼­ ÇѱÛÀ» Áö¿øÇÒ ¼ö ÀÖµµ·Ï ÇÏ°í
  --localstatedir=/home/mysql/data  DBÀÇ µ¥ÀÌÅÍ tableÀ» ÆÄÀÏ·Î ÀúÀåÇÒ µð·ºÅ丮¸¦ ÁöÁ¤

  configureÇÑ ÈÄ "Thank you for choosing MySQL!" À̶ó´Â ¸Þ½ÃÁö°¡ ³ª¿Â´Ù¸é MySQLÀ» ÄÄÆÄÀÏÇÒ Áغñ°¡
  ´Ù µÇ¾ú´Ù´Â °ÍÀÌ´Ù

  ¸¸¾à MySQLÀ» ´Ù½Ã ¼³Ä¡ÇÒ °æ¿ì´Â
  [root@howto mysql-3.23.51]# make clean
  [root@howto mysql-3.23.51]# make distclean
  ¸¦ ½ÇÇàÇÏ¿© ȯ°æ¼³Á¤À» ÃʱâÈ­ ÇÑ ÈÄ configure ÇÑ´Ù

  ¾Æ·¡¿Í °°ÀÌ ÄÄÆÄÀÏÀ» ½ÃÀÛÇϸç ÄÄÇ»ÅÍ »ç¾ç¿¡ µû¶ó ¼öºÐ¿¡¼­ ¼ö½ÊºÐ ¼Ò¿äµÈ´Ù
    [root@howto mysql-3.23.51]# make    

  ¿©±â±îÁö µÇ¾ú´Ù¸é mysql À̶ó´Â »ç¿ëÀÚ group°ú id¸¦ ¸¸µé¾î¾ß ÇÑ´Ù
    [root@howto mysql-3.23.51]# groupadd mysql
    [root@howto mysql-3.23.51]# useradd -g mysql mysql
    [root@howto mysql-3.23.51]# mkdir /home/mysql/data
    [root@howto mysql-3.23.51]# chown -R mysql /home/mysql/data
    [root@howto mysql-3.23.51]# chgrp -R mysql /home/mysql/data
    [root@howto mysql-3.23.51]# cp support-files/my-medium.cnf /etc/my.cnf

  ¾Æ·¡¿Í °°ÀÌ ¼³Ä¡ÀÛ¾÷À» ÇÑ´Ù
    [root@howto mysql-3.23.51]# make install

  ¼³Ä¡ÈÄ mysqlÀÇ µ¥ÀÌÅ͸¦ °ü¸®ÇÒ ±âÃÊÀûÀÎ DB(mysql)¿Í Å×À̺í(db,user,func,...)À» »ý¼ºÇÑ´Ù
    [root@howto mysql-3.23.51]# scripts/mysql_install_db      
  mysql_install_dbÀº ¹Ýµå½Ã Çѹø¸¸ ½ÇÇà½ÃÄÑ¾ß ÇÕ´Ï´Ù

  ¸î°¡Áö DB ÆÄÀÏÀÌ root ·Î µÇ¾î ÀÖÀ¸¹Ç·Î ´Ù½ÃÇѹø ±ÇÇÑÀ» ¹Ù²ãÁØ´Ù
    [root@howto mysql-3.23.51]# chown -R mysql /home/mysql/data
    [root@howto mysql-3.23.51]# chgrp -R mysql /home/mysql/data

  ±×´ÙÀ½ mysqlÀÌ make installµÈ µð·ºÅ丮(/usr/local/mysql) ¾Æ·¡ÀÇ share/mysql/mysql.server ¸¦
  vi µîÀ¸·Î ¿­¾î¼­ 107 ¶óÀÎÂë¿¡ "$bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file" ºÎºÐÀÇ
  µÚ¿¡ "--language=korean" ¸¦ Ãß°¡ÇÏ¿© ÇѱÛÀ» Áö¿øÇϵµ·Ï ÇÑ´Ù
    if test -x $bindir/safe_mysqld
    then
      # Give extra arguments to mysqld with the my.cnf file. This script may
      # be overwritten at next upgrade.
      $bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file --language=korean &
      # Make lock for RedHat / SuSE
      if test -w /var/lock/subsys
      then
        touch /var/lock/subsys/mysql
      fi
    else
      echo "Can't execute $bindir/safe_mysqld"
    fi
    ;;

  ¿©±â±îÁö´Â ½ÇÇàȯ°æ¿¡ ´ëÇÑ ³»¿ëÀ̾ú°í ¸Å¹ø ºÎÆýà ÀÚµ¿À¸·Î mysql ÀÌ ½ÇÇàµÇµµ·Ï ¾à°£ÀÇ
  ÀÛ¾÷À» ÇØÁÖ¸é ¼³Ä¡´Â ³¡³­´Ù

  ½Ã½ºÅÛ ºÎÆýÿ¡ ÀÚµ¿ ½ÇÇàµÇµµ·Ï ÇØÁØ´Ù
    [root@howto mysql-3.23.51]# cp -p /usr/local/mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysqld
    [root@howto mysql-3.23.51]# ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc3.d/S90mysqld
    [root@howto mysql-3.23.51]# ln -s /etc/rc.d/init.d/mysqld /etc/rc.d/rc5.d/S90mysqld

  Á¤È®È÷ ¼Â¾÷µÇ¾ú´ÂÁö ntsysv ¸í·ÉÀ» ÀÌ¿ëÇÏ¿© mysqld °¡ ³ªÅ¸³ª°í ¼Â¾÷µÇ¾ú´ÂÁö("*" Ç¥) È®ÀÎÇÑ´Ù
    [root@howto mysql-3.23.51]# ntsysv

  ±×¸®°í mysql ¼­¹öÀÇ ½ÃÀÛ°úÁ¾·á ±×¸®°í °ü·Ã ¸í·É¾î¸¦ »ç¿ëÇϱâ ÆíÇÏ°Ô ÇϱâÀ§Çؼ­ ºÎÆÃȯ°æ¿¡ PATH¸¦ ÁöÁ¤ÇØ µÐ´Ù
    [root@howto mysql-3.23.51]# vi /root/.bash_profile

    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin:/usr/local/mysql/bin
    BASH_ENV=$HOME/.bashrc
    USERNAME="root"

  ¼³Ä¡°¡ ¿Ï·áµÇ¾úÀ¸¹Ç·Î mysql ¼­¹öÀÇ ±¸µ¿À» Å×½ºÆ® Çغ»´Ù
    [root@howto mysql-3.23.51]# /etc/rc.d/init.d/mysqld start  mysql¼­¹ö ½ÃÀÛ
    [root@howto mysql-3.23.51]# ps -ef | grep mysql    MySQL ÇÁ·Î¼¼½º È®ÀÎÇϱâ
    [root@howto mysql-3.23.51]# /etc/rc.d/init.d/mysqld stop   mysql ¼­¹ö Á¾·á

5.Apache Configure
  Apache ¾ÐÃàÀ» Ǭ µð·ºÅ丮·Î À̵¿ÇÏ¿© configure ÇÕ´Ï´Ù
    [root@howto apache_1.3.27]# ./configure --prefix=/usr/local/apache

  --prefix=/usr/local/apache  Àº ¼³Ä¡ µð·ºÅ丮¸¦ ÁöÁ¤ÇÕ´Ï´Ù

  ApacheÀÇ make, make install Àº ³ªÁß¿¡ Çϴµ¥ ÀÌÀ¯´Â mysql, php µîÀÌ ¿ÏÀüÈ÷ ¼³Ä¡µÇ¾î¾ß apache ÄÄÆÄÀϽÃ
  À̵éÀ» Âü°íÇϱ⠶§¹®ÀÔ´Ï´Ù

6.PHP ¼³Ä¡
  PHP ¾ÐÃàÀ» Ǭ µð·ºÅ丮·Î À̵¿ÇÏ¿© configure ÇÕ´Ï´Ù

    [root@howto php-4.1.2]# ./configure --with-config-file-path=/etc/httpd
    --prefix=/usr --exec-prefix=/usr
    --bindir=/usr/bin --sbindir=/usr/sbin
    --with-mysql=/usr/local/mysql
    --with-apache=../apache_1.3.27
    --disable-debug
    --enable-track-vars
    --with-gd
    --enable-safe-mode

  --with-config-file-path=/etc/httpd ´Â ¿ø·¡ ApacheÀÇ È¯°æÆÄÀÏÀÌ ÀúÀåµÉ µð·ºÅ丮 ÀÌÁö¸¸
                                        °ü¸®ÀÇ Æí¸®¸¦ À§ÇØ PHP ȯ°æÆÄÀÏ(php.ini)µµ ÀÌ°÷¿¡ ÀúÀåÇÕ´Ï´Ù
  --with-mysql=/usr/local/mysql ´Â mysqlÀÌ ¼³Ä¡µÈ µð·ºÅ丮¸¦,
  --with-apache=../apache_1.3.27 ´Â Apache ¼³Ä¡°¡ ¾Æ´Ï¶ó ¾ÐÃàÀ» Ǭ µð·ºÅ丮¸¦,
  --enable-track-vars ´Â HTTP_GET_VARS, HTTP_POST_VARS, HTTP_COOKIE_VARS Àü¿ª ¹è¿­¿¡ µé¾î ÀÖ´Â
                         GET, POST, cookie º¯¼öµéÀÌ ¾îµð¼­ ¿Ô´ÂÁö ÃßÀû(track)Ç϶ó´Â °ÍÀÌ°í,
  --disable-debug ´Â ´ÙÀ½¿¡ ¼³Ä¡ÇÒ ZendOptimizer ¸¦ À§ÇÑ °ÍÀÔ´Ï´Ù

  configure°¡ Àß µÇ¾ú´Ù¸é °°Àº µð·ºÅ丮¿¡¼­ make, make install ÇÏ¿© ÄÄÆÄÀÏ/¼³Ä¡Çϼ¼¿ä
    [root@howto php-4.1.2]#make
    [root@howto php-4.1.2]#make install

7.Apache ÄÄÆÄÀÏ/¼³Ä¡
  Apache ¾ÐÃàÀ» Ǭ µð·ºÅ丮·Î À̵¿ÇÏ¿© configure ¸¦ ´Ù½Ã ÇÕ´Ï´Ù
    [root@howto apache_1.3.27]# ./configure --prefix=/usr/local/apache
    --activate-module=src/modules/php4/libphp4.a
    --enable-module=so --enable-shared=max
    --sysconfdir=/etc/httpd/conf --datadir=/home/httpd
    --localstatedir=/var/httpd --htdocsdir=/home/httpd/html
    --logfiledir=/var/log/httpd

  --prefix=/usr/local/apache  Àº ¼³Ä¡ µð·ºÅ丮¸¦ ÁöÁ¤ÇÏ°í,
  --sysconfdir=/etc/httpd/conf ´Â ApacheÀÇ È¯°æÆÄÀÏÀÌ ÀúÀåµÉ µð·ºÅ丮¸¦ ÁöÁ¤ÇÏ°í,
  --datadir=/home/httpd ´Â ½ÇÁ¦ ȨÆäÀÌÁö µð·ºÅ丮¸¦ ÁöÁ¤ÇÏ°í
  --htdocsdir=/home/httpd/html ´Â ½ÇÁ¦ ȨÆäÀÌÁöÀÇ ¹®¼­(document root) µð·ºÅ丮¸¦ ÁöÁ¤ÇÕ´Ï´Ù

  Apache¸¦ ÄÄÆÄÀÏ/¼³Ä¡ÇÕ´Ï´Ù
    [root@howto apache_1.3.27]# make
    [root@howto apache_1.3.27]# make install

  PHPÀÇ ¾ÐÃàÀ» Ǭ µð·ºÅ丮¿¡ ÀÖ´Â PHP ȯ°æÆÄÀÏ(php.ini)À» PHP configure½Ã --with-config-file-path ·Î
  ÁöÁ¤ÇÑ µð·ºÅ丮¿¡ º¹»çÇÕ´Ï´Ù
    [root@howto apache_1.3.27]# cp ../php-4.1.2/php.ini-dist /etc/httpd/php.ini  

  ½Ã½ºÅÛ ºÎÆýà ÀÚµ¿½ÇÇàÀÌ µÇµµ·Ï Çϱâ À§ÇÏ¿© ¼³Á¤À» ÇÕ´Ï´Ù.
    [root@howto apache_1.3.27]# cp -p /usr/local/apache/bin/apachectl /etc/rc.d/init.d/apachectl
    [root@howto apache_1.3.27]# ln -s /etc/rc.d/init.d/apachectl /etc/rc.d/rc3.d/S85httpd
    [root@howto apache_1.3.27]# ln -s /etc/rc.d/init.d/apachectl /etc/rc.d/rc5.d/S85httpd
    [root@howto apache_1.3.27]# ln -s /etc/rc.d/init.d/apachectl /etc/rc.d/rc0.d/K15httpd
    [root@howto apache_1.3.27]# ln -s /etc/rc.d/init.d/apachectl /etc/rc.d/rc1.d/K15httpd
    [root@howto apache_1.3.27]# ln -s /etc/rc.d/init.d/apachectl /etc/rc.d/rc6.d/K15httpd

  Apache configure½Ã --sysconfdir ·Î ÁöÁ¤ÇÑ È¯°æÆÄÀÏÀÌ ÀúÀåµÈ µð·ºÅ丮ÀÇ httpd.conf ¸¦ vi µîÀ¸·Î ¿­¾î¼­
  404 ¶óÀÎÂë¿¡ "DirectoryIndex index.html index.htm" ¸¦ ¾Æ·¡Ã³·³ ¹Ù²Ù¾î php ÆÄÀϵµ Default ½ÃÀÛÆäÀÌÁö·Î
  ¼³Á¤ÀÌ °¡´ÉÇϵµ·Ï ¼öÁ¤ÇØ ÁÝ´Ï´Ù

    #
    # 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>
        DirectoryIndex index.php index.php3 index.html index.htm
    </IfModule>

  ±×´ÙÀ½ 811 ¶óÀÎÂë¿¡ ¾Æ·¡ºÎºÐÀ» ã¾Æ¼­ µÎÁÙÀ» Ãß°¡ÇÑ´Ù
    #
    # AddType allows you to tweak mime.types without actually editing it, or to
    # make certain files to be certain types.
    #
    AddType application/x-tar .tgz
    AddType image/x-icon .ico
    AddType application/x-httpd-php .php .php3 .inc .ph .htm
    AddType application/x-httpd-php-source .phps

  Apache ¸¦ ½ÇÇà½ÃÄѺ¾´Ï´Ù
    [root@howto apache_1.3.27]# /etc/rc.d/init.d/apachectl start        

8.Zend Optimizer ¼³Ä¡
  ¼³Ä¡ÀÛ¾÷À» ÇϱâÀü¿¡ ÇÑ°¡Áö ÁÖÀÇÇÒ°ÍÀº ApacheÀÇ È¯°æÆÄÀÏÀÌ ÀúÀåµÈ µð·ºÅ丮(/etc/httpd/conf)¸¦
  /usr/local/apache ¾Æ·¡¿¡ º¹»çÇØ¾ß ÇÕ´Ï´Ù
  Á¤È®ÇÑ ÀÌÀ¯´Â ¸ð¸£°ÚÁö¸¸ Zend Optimizer°¡ Apache configure½Ã ÁöÁ¤ÇÑ --sysconfdir=/etc/httpd/conf
  ¸¦ ¾ËÁö ¸øÇÏ´Â°Í °°½À´Ï´Ù

  Zend Optimizer ¾ÐÃàÀ» Ǭ µð·ºÅ丮·Î À̵¿ÇÏ¿© Install.sh ½©À» ½ÇÇàÇÕ´Ï´Ù
    [root@howto ZendOptimizer-1.3.1-Linux_glibc21-i386]# ./install.sh

  °¢ ´Ü°èº° È­¸éÀÌ Àִµ¥ °¢ È­¸é¸¶´Ù ¾Æ·¡¿Í °°ÀÌ ÀÔ·ÂÇÑ ÈÄ OK Çϼ¼¿ä
    Specify the location where to install Zend Optimizer
    -> /usr/local/Zend

    Confirm the location of your php.ini file
    -> /etc/httpd

    Are you using the Apache web server?
    -> Yes

    Specify the location of your Apache root directory
    -> /usr/local/apache

    Install has detected PHP version 4.1.2
    Does this look correct?
    -> Yes

  ¼³Ä¡ ¿Ï·á ¸Þ½ÃÁö ¶á´ÙÀ½ Apache¸¦ Àç½ÃÀÛ ÇØÁÝ´Ï´Ù
    [root@howto ZendOptimizer-1.3.1-Linux_glibc21-i386]# /etc/rc.d/init.d/apachectl restart

9.Apache ¹× PHP °Ë»çÇϱâ
  Apache ¼­¹ö°¡ ±¸µ¿ÁßÀÎ »óÅ¿¡¼­ Apache configure ½Ã --htdocsdir ·Î ÁöÁ¤ÇÑ È¨µð·ºÅ丮(/home/httpd/html)·Î
  À̵¿ÇÏ¿© phpinfo.php ¶ó´Â ÆÄÀÏÀ» ¾Æ·¡¿Í °°ÀÌ ÆíÁýÇÕ´Ï´Ù

    <?
      phpinfo();
    ?>

  ±×·±´ÙÀ½ ÀÌ ÆÄÀÏÀ» ºê¶ó¿ìÀú·Î º¸¸é PHP Configuration°ú Zend¿¡ °üÇÑ Á¤º¸µéÀÌ º¸À̸é Á¤»óÀÔ´Ï´Ù
    http://localhost/phpinfo.php






62   [Unix/Linux] [°­ÁÂ] ÀÎÅÚ ¼¾Æ®¸®³ë ¹«¼±·£ Ä«µå: ndiswrapper  ±è¿µ´ë 2004/06/27 12555 2189
61   [Unix/Linux] [¼Ò½º] top for System V Release 4, Intel or Sparc CPU  ±è¿µ´ë 2004/02/20 11193 1300
60   [Unix/Linux] [¼Ò½º] top for SunOS 5.x (Solaris 2.x)  ±è¿µ´ë 2004/02/20 15462 1331
59   [Unix/Linux] [¼Ò½º] String Çؽ¬(hash) ÇÔ¼ö  ±è¿µ´ë 2003/07/29 8066 1591
58   [Unix/Linux] [°­ÁÂ] À¥·Î±×ºÐ¼®À» À§ÇÑ Webalizer + GDlib + PNGlib + Zlib ¼³Ä¡  ±è¿µ´ë 2003/05/04 8543 1517
  [Unix/Linux] [°­ÁÂ] Apache + MySQL + PHP4 + Zend Optimizer ¼³Ä¡  ±è¿µ´ë 2003/04/15 8682 1630
56   [Unix/Linux] [System V IPC] shmop() function - °øÀ¯¸Þ¸ð¸®  ±è¿µ´ë 2003/03/17 6539 1584
55   [Unix/Linux] [System V IPC] shmctl() function - °øÀ¯¸Þ¸ð¸®  ±è¿µ´ë 2003/03/17 9913 1728
54   [Unix/Linux] [System V IPC] shmget() function - °øÀ¯¸Þ¸ð¸®  ±è¿µ´ë 2003/03/17 11232 1793
53   [Unix/Linux] [System V IPC] semop() function - ¼¼¸¶Æ÷¾î  ±è¿µ´ë 2003/03/17 5791 1439
52   [Unix/Linux] [System V IPC] semctl() function - ¼¼¸¶Æ÷¾î  ±è¿µ´ë 2003/03/17 6167 1412
51   [Unix/Linux] [System V IPC] semget() function - ¼¼¸¶Æ÷¾î  ±è¿µ´ë 2003/03/17 6720 1663
50   [Unix/Linux] [System V IPC] msgget() function - ¸Þ¼¼ÁöÅ¥  ±è¿µ´ë 2003/03/17 6390 1603
49   [Unix/Linux] [System V IPC] msgctl() function - ¸Þ¼¼ÁöÅ¥  ±è¿µ´ë 2003/03/17 6495 1703
48   [Unix/Linux] [System V IPC] msgrcv() function - ¸Þ¼¼ÁöÅ¥  ±è¿µ´ë 2003/03/17 7559 1702
47   [Unix/Linux] [System V IPC] msgsnd() function - ¸Þ¼¼ÁöÅ¥  ±è¿µ´ë 2003/03/17 8364 1923
46   [Unix/Linux] [POSIX IPC] »ý»êÀÚ/¼ÒºñÀÚ - ¼¼¸¶Æ÷¾î  ±è¿µ´ë 2003/03/17 8195 5692
45   [Unix/Linux] [POSIX IPC] mq_receive() function - ¸Þ¼¼ÁöÅ¥  ±è¿µ´ë 2003/03/17 8280 1822
44   [Unix/Linux] [POSIX IPC] mq_send() function - ¸Þ¼¼ÁöÅ¥  ±è¿µ´ë 2003/03/17 12430 1713
43   [Unix/Linux] [Thread] pthread_cond() function  ±è¿µ´ë 2003/03/17 6655 1697

1 [2][3][4]
 

Copyright 1999-2024 Zeroboard / skin by zero