·Î±×ÀÎ
ÅëÅ«¾ÆÀÌ ¸ðµç¸Þ´ºº¸±â
±Û¸Ó¸® ±âÈ£ ½Åû/¿î¿µ
¿¬¶ôó : 02-6959-3661
±Û¸Ó¸®±âÈ£ ¼­¹ö¿ä±Ý/°áÁ¦
¿¬¶ôó : 02-6959-3660
¹Ù´Ú
¼­¹ö¿î¿µ
¼­¹ö °ü¸®Çϱâ
¼­¹ö ±¸Ãà
ÀÚ·á½Ç
ÅëÅ«¼­¹ö ¼Ò°³
Áö¿øÇÏ´Â OS ¼Ò°³
¾ÆÀ̼­¹ö ¼Ò°³
¾ÆÀ̼­¹ö¶õ?
¾ÆÀ̼­¹ö FAQ
¾ÆÀ̼­¹ö ¸Þ´º¾ó
°Ô½ÃÆÇ ¹®ÀÇ»ó´ã
1 : 1 ¹®ÀÇÇÏ·¯°¡±â
¼­¹ö / IDC
½Åû/¿î¿µ : 02-6959-3661
¼­¹ö¿ä±Ý/°áÁ¦ : 02-6959-3660
Ŭ¶ó¿ìµå
031-724-4846
¹®ÀÚ¸Þ¼¼Áö
031-698-4744
Ȩ / ¼­¹ö/IDC / µµ¿ì¹Ì
¹øÈ£ 6 Á¶È¸ 864
À̸§ ÅëÅ«¾ÆÀÌ ÀÛ¼ºÀÏ 2010-07-21
Á¦¸ñ php¼³Ä¡ ¼³¸í°ú php¿¬µ¿ Å×½ºÆ®
ÆÄÀÏ php¼³Ä¡¿Íphp¿¬µ¿Å×½ºÆ®.doc
Á¤º¸Á¦°ø:ÁÁÀºÀÎÅͳݢߺΠ¼­ ¸í:IDC¼­ºñ½º°ü¸® ÀÌ ¸Þ ÀÏ:tech@tongkni.co.kr [Php¼³Ä¡ ¼³¸í°ú php¿¬µ¿ Å×½ºÆ®] 1.php-5.2.0 ¹ÞÀº ÆÄÀÏ ./configure ½ÇÇà. cd php-5.2.0 ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-mysql=/usr/local/mysql --with-mod-charset --with-xml --with-track-debug --enable-track-vars --enable-calendar --enable-shmop --enable-ftp --enable-sockets --enable-mailparse --enable-magic-quotes --enable-track-vars=yes --with-language=korean --enable-module=so --with-charset=euc_kr --enable-cgi --with-gd --with-png-dir=/usr/lib --with-libpng-dir=/usr/lib --with-zlib-dir --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-charset=utf8 --with-iconv --enable-mbstring (UTF-8Àǰæ¿ì ij¸¯Åͼ¿¡ utf8·Î) make make install [Âü°í¼³¸í] php°¡ ¼³Ä¡ ÈÄ µðºñ¿Í ¿¬µ¿ÀÌ µÇ´Â °ÍÀÎÁö(?) ¸¹Àº ºÐµéÀÌ ¹°¾îº»´Ù. ±×·¡¼­ ¿É¼ÇºÎºÐÀ» ¾à°£ ¼³¸íÇÏ·Á°í ÇÑ´Ù. --prfix=/usr/local/php À§´Â php°¡ ¼³Ä¡µÉ °÷À» ÁöÁ¤ÇÑ´Ù. --with=apxs2=/usr/local/apache2/bin/apxs À§´Â ¾ÆÆÄÄ¡ÀÇ apxs¸¦ ÀÌ¿ëÇØ ¾ÆÆÄÄ¡¸¦ ¸ðµâ¿¡ ÀûÀçÇÑ´Ù. --with-mysql==/usr/local/mysql À§´Â Mysql°ú ¿¬µ¿ÇÑ´Ù. --with-config-file-path=/usr/local/apache2/conf À§´Â phpÀÇ È¯°æ¼³Á¤ ÆÄÀÏÀÎ php.ini°¡ »ý¼ºµÉ À§Ä¡¸¦ ÁöÁ¤ÇÑ´Ù. ³ª¸ÓÁö´Â °¢Á¾ ¿É¼ÇµéÀÌ´Ù. 2.phpÀÇ »ùÇÃÆÄÀÏ ¡°php.ini-dist¡±À» php¼³Ä¡½Ã¿¡ ȯ°æ¼³Á¤ÆÄÀÏÀ» ÁöÁ¤Çß´ø °æ·Î¾Æ·¡ ¡°php.ini ¡±º¹»çÇÏ¿© ¼öÁ¤ÇÏ¿© »ç¿ëÇÑ´Ù. cp php.ini-dist /usr/local/apache2/conf/php.ini vim /usr/local/apache2/conf/php.ini register_globals = On magic_quotes_gpc = On 3.¾ÆÆÄÄ¡¿Í phpÀÇ ¿¬µ¿À» À§ÇÑ httpd.conf ÆÄÀÏ¿¡ Ãß°¡. vi /usr/local/apache2/conf/httpd.conf DirectoryIndex index.htm index.html index.php AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps ¾ÆÆÄÄ¡ Àç½ÃÀÛ /usr/local/apache2/bin/apachectl restart [Âü°í¼³¸í] ÀÌÁ¦ ¾ÆÆÄÄ¡¿ÍÀÇ ¿¬µ¿À» À§ÇØ httpd.conf ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù. DirectoryIndex¿¡ index.php¸¦ Ãß°¡Çϰí, mime_module Ç׸ñ¿¡ .php¹®¼­·Î ÀνÄÇÒ ¼ö ÀÖ°Ô AddTypeÁö½Ã¾î¸¦ ÀÌ¿ëÇÏ¿© ¼³Á¤ÇÏ¿´´Ù. 4.Å×½ºÆ® vi /index.php ºê¶ó¿ìÁ®¿¡¼­ ¡°index.php¡± ÆÄÀÏÀ» ¶ç¿öº¸ÀÚ Á¤»óÀûÀ¸·Î ¿¬µ¿ÀÌ µÇ¾ú´Ù¸é, ¾Æ·¡ ó·³ phpÀÇ È¯°æ¼³Á¤ Á¤º¸ÆäÀÌÁö°¡ ³ªÅ¸³­´Ù. php [Á¤»óÀû ¿¬µ¿] [ºñÁ¤»óÀû ¿¬µ¿ Çö»ó 2°¡Áö] 1.phpÀÇ È®ÀåÀÚ¿¡ ´ëÇÑ ÆÄÀÏ Çü½ÄÀ» ÁöÁ¤ÇØ ÁÖÁö ¾Ê¾ÒÀ» ¶§ ¹ß»ýÇÏ´Â ¿À·ù. ->AddTypeÁö½Ã¾î¸¦ È®ÀÎÇÑ´Ù. 2.phpÆÄÀÏÀ» ´Ù¿î·ÎµåÇÏ·Á´Â âÀÌ ¶á´Ù¸é ÀÌ´Â php¸ðµâÀÌ Á¤»óÀûÀ¸·Î ·ÎµåµÇÁö ¾Ê¾ÒÀ» ¶§ ¹ß»ýÇÑ´Ù. ->Àç¼³Ä¡ÇØ¾ß °Ú§c. 5. ¸¶Áö¸·À¸·Î apm ¿¬µ¿ Å×½ºÆ® 1)»õ·Î¿î µðºñ¸¦ ¸¸µç´Ù. (ex: µðºñ¸í:testdb) 2)»õ·Î¿î Å×À̺íÀ» ¸¸µç´Ù.(ex: Å×À̺í¸í:test_table ) 3)ÀÔ·ÂÆûÀ» ¸¸µç´Ù (ex:ÆÄÀϸí1:index.php) <html> <head> <meta http-equiv="content-type" content="text/html/php; charset=utf-8"> </head> <body> <form method="post" action="result.php"> <table> <tr><td> <input type="text" name="insert_data"> <input type="submit" value="write" class="botton"> </td><tr> </table> </form> </body> </html> (ex:ÆÄÀϸí2:result.php) <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body> </body> </html> 4) ºê¶ó¿ìÁ®¿¡¼­ 3)¹øÀ» ½ÇÇà ÇÑ ÈÄ ÇØ´ç Å×ÀÌºí¿¡ ¹®ÀÚ°¡ ÀúÀåµÇ¾ú´ÂÁö È®ÀÎÇÑ´Ù. -end-
´ÙÀ½±Û crontabÀ» ÀÌ¿ëÇÑ µðºñ¹é¾÷
ÀÌÀü±Û Telnet server( ÅÚ³Ý)±¸ÃàÇϱâ
Ȩȸ»ç¼Ò°³°³ÀÎÁ¤º¸Ã³¸®¹æÄ§¼­ºñ½ºÀÌ¿ë¾à°ü¼­ºñ½ºº°ÀüÈ­norton
ÅëÅ«¾ÆÀÌ2005-2012 Á¤º¸º¸È£¾ÈÀüÁø´ÜÇÊÁõ(»ç)Çѱ¹ÀÎÅÍ³Ý È£½ºÆÃÇùȸ¿ì¼öÁß¼Ò±â¾÷ SMBA ¼±Á¤ °­¼Ò±â¾÷ SMBA ¼±Á¤°­¼Ò±â¾÷ °í¿ë³ëµ¿ºÎ¼±Á¤
¸¶ÁؼÒÇÁÆ® ÁÖ½Äȸ»ç ¤Ó »ç¾÷ÀÚ µî·Ï¹øÈ£: 220-86-18296 ¤Ó Åë½ÅÆÇ¸Å¾÷ ½Å°í¹øÈ£ : Á¦03601È£ ¤Ó ´ëÇ¥ÀÚ : ¸¶Áؼ®
¼­¿ïƯº°½Ã ¼­Ãʱ¸ ¼­Ãʵ¿ ¹ý¿ø·Î 1±æ 6 (¼­Ãʵ¿)