½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
css
mysql
html
jquery
������
image
mobile
API
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 111 | Á¶È¸¼ö 1,896 | µî·ÏÀÏ 2001-10-17 04:29:28

´Ð³×ÀÓ

HappyCGI

À̸ÞÀÏ

hero@happycgi.com

Á¦¸ñ

À©µµ¿ì¿¡¼­ÀÇ APM ¼³Ä¡(Æۿ±Û)
³»¿ë
¢Æ apache + PHP + MySQL ¼³Ä¡Çϱâ

1. ¿ì¼± apache¸¦ ´Ù¿î¹Þ¾Æ¾ß°ÚÁÒ.


2. ´Ù¿î¹ÞÀ¸¼ÌÀ¸¸é ½ÇÇàÀ» ½Ãŵ´Ï´Ù. À©µµ¿ì¿¡¼­ ¼³Ä¡Çϴ ȯ°æ¿¡´Â Àͼ÷ÇϽÃÁÒ??

¼³Ä¡µð·ºÅ丮´Â ¾Æ¹«°÷À̳ª »ó°üÀÌ ¾ø°í¿ä, ½±°Ô c:\apache ¿¡ ¼³Ä¡¸¦ ÇÏ°Ú½À´Ï´Ù.

3. ÀÚ ¼³Ä¡´Â º° ¹«¸® ¾øÀÌ ´Ù µÇ¾úÁö¿ä??

4. ¼³Ä¡ÇÑ µð·ºÅ丮 ( c:\apache )·Î °¡º¸¼Å¼­ ±¸°æÀ» Çغ¸ÁÒ.. À½ ¸®´ª½º¿¡ ¼³Ä¡ÇßÀ» ¶§¿Í º° Â÷ÀÌ°¡ ¾øÁÒ. Àͼ÷ÇÑ ÆÄÀÏ°ú µð·ºÅ丮°¡ ¸¹±º¿ä.. ^^;;

´Ù¸£´Ù¸é apache.exe ¶ó´Â ½ÇÇàÈ­ÀÏÀÌ ÀÖ±º¿ä..

5. ±×·³ ¾ÆÆÄÄ¡¸¦ ½ÇÇà½ÃÄÑ º¸ÁÒ. ±â³É apache.exe¸¦ ½ÇÇàÇÏ¸é µË´Ï´Ù.

µµ½ºÃ¢ÀÌ Çϳª ¶ß°í Apache/1.3.9 <win32> running <= ÀÌ·¸°Ô ³ª¿À¸é ¼º°øÇÑ °ÍÀÔ´Ï´Ù.

6. ¼³Ä¡¸¦ ÇßÀ¸´Ï ȯ°æ¼³Á¤À» ÇؾßÇÕ´Ï´Ù. ÀüÇô º¹ÀâÇÏÁö ¾ÊÀ¸´Ï±î¿ä.. µû¶óÇÏ½Ã¸é ±Ý¹æ ¼º°øÇÒ ²¨¿¡¿ä.. ¼º°øÀ» ±â¿ø... ^^;;

¿ª½Ã ȯ°æ ¼³Á¤ ÆÄÀÏÀº c:\apache\conf\httpd.confÀÔ´Ï´Ù. ±×·³ ¸Þ¸ðÀåÀ̳ª ¿¡µðÅÍ¿¡¼­ httpd.conf¸¦ ºÒ·¯¿À¼Å¿ä...

±×·³ ¾Æ¹«°÷¿¡¼­ ´ÙÀ½ÀÇ »¡°£»ö ±Û¾¾¸¦ Ãß°¡ÇÕ´Ï´Ù. ´ÙÀ½Àº php¸¦c:\php ·Î ¼³Ä¡ÇÒ °æ¿ìÀÓ

======================== php4¸¦ »ç¿ëÇÒ °æ¿ì===============================

ScriptAlias /php/ "C:/PHP/"
AddType application/x-httpd-php .php3 .php .html .phtml .inc .sql
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php.exe"
==========================================================================

======================== php3¸¦ »ç¿ëÇÒ °æ¿ì===============================

ScriptAlias /php3/ "C:/PHP/"
AddType application/x-httpd-php3 .php3 .php .html .phtml .inc .sql
AddType application/x-httpd-php3-source .phps
Action application/x-httpd-php3 "/php3/php.exe"
==========================================================================

´ÙÀ½Àº ¼­¹öÀ̸§À» Àû¾îÁÝ´Ï´Ù.
º¸Åë 239¶óÀο¡ ÀÖ½À´Ï´Ù. ¾Æ·¡ ó·³ µÇ¾îÀÖ½À´Ï´Ù.

#ServerName new.host.name ÀÌ ¶óÀÎ ¹Ø¿¡ ´ÙÀ½À» Ãß°¡ÇÕ´Ï´Ù.
servername 127.0.0.1 ¿ä·¸°Ô¿ä.. ½±ÁÒ. ?? ^^;;

7. ¿ä¹ø¿¡´Â DB mysqlÀ» ¼³Ä¡ÇØ º¸°Ú½À´Ï´Ù. ^^;;

¿ì¼± ´Ù¿îºÎÅÍ ¹ÞÁÒ..

¿ì¼± mysql ¾ÐÃàÀ» Ç®°í, setupÀ» ½ÇÇàÇÕ´Ï´Ù. ±×¸®°í c:\mysql ¿¡ ¼³Ä¡¸¦ ÇÕ´Ï´Ù.

±×·³ ½ÇÇàÀ» ÇØ º¼±î¿ä??

cd mysql\bin À¸·Î °¡¼Å¼­ mysqld-shareware À» ½ÇÇàÇϸé Àá½Ã µµ½ºÃ¢ÀÌ ¶¹´Ù°¡ ¾ø¾î Áý´Ï´Ù. ±×·³ ½ÇÇàÀÌ Á¦´ë·Î µÈ °ÍÀÔ´Ï´Ù. ÃßÄ«ÃßÄ«.. ^^;;

±×¸®°í ¸®´ª½º¿¡¼­ »ç¿ëÇß´ø °Íó·³ »ç¿ëÇÏ½Ã¸é µË´Ï´Ù. ½Å±âÇÏÁÒ. ¶È°°¾Æ¿ä. ^^;;

±×¸®°í mysqld-shareware¸¦ ¹Ù·Î°¡±â ¾ÆÀÌÄÜÀ» Çϳª ¸¸µé¸é ÆíÇÏ°ÚÁÒ. ^^;;

½ÇÇàµÇ¾ú´ÂÁö È®ÀÎ ÇÏ°í ½ÍÀ¸½Ã¸é ctrl+alt + del¸¦ ´­·¯¼­ ÇÁ·Î±×·¥ Á¾·á ¸®½ºÆ®¿¡ ÀÖ³ª È®ÀÎÇØ º¸¼¼¿ä.. ^^;;

8. ÀÌÁ¦ ¸¶Áö¸· ÀÛ¾÷ÀÔ´Ï´Ù. php¸¦ ¼³Ä¡ÇÏ°Ú½À´Ï´Ù. php´Â µÎ °³ÀÇ ÆÄÀÏÀ» ´Ù¿î¹Þ¾Æ¾ß ÇÕ´Ï´Ù.


1) http://www.php.net/version4/do_download.php?download_file=php-4.0b3-Win32.zip

2) http://www.php.net/version4/do_download.php?download_file=mysql-php-4.0b3-Win32.zip

±×¸®°í ³ª¼­ c:\php ¾È¿¡ ¸ðµÎ ¾ÐÃàÀ» Ç®¾îÁÖ¼¼¿ä.

9. ´ÙÀ½Àº ȯ°æ¼³Á¤ ÀÛ¾÷ÀÔ´Ï´Ù. ¸¶Áö¸·ÀÌ´Ï Èû³»¼¼¿ä.. ^^;;

¿ì¼± php µð·ºÅ丮 ¾È¿¡ º¸¸é php.ini-dist ¶ó´Â ÆÄÀÏÀÌ ÀÖÁÒ? ÀÌ°ÍÀ» php.iniÀ¸·Î À̸§À» º¯°æÇØ ÁÝ´Ï´Ù.

±×¸®°í ¸Þ¸ðÀå¿¡¼­ ºÒ·¯¿É´Ï´Ù. php¿Í mysqlÀ» ¹°·Á¼­ »ç¿ëÀ» ÇØ¾ß Çϴϱî¿ä.
¹®¼­ 122¶óÀÎÀ» º¸¸é ;Windows Extensions À̶ó´Â ºÎºÐÀÌ ÀÖ½À´Ï´Ù. ; Àº ÁÖ¼®Ã³¸®ÀÔ´Ï´Ù.
±× ºÎºÐ¿¡ ;extension=php_mysql.dll ;À» ¾ø¾ÖÁÖ¼¼¿ä. (ÁÖ¼®Ã³¸® »èÁ¦)

ÀúÀåÀ» ÇÒ ¶§´Â c:\windows ¾È¿¡ ÀúÀåÀ» ÇØÁÖ¼¼¿ä. ±×·¯¸é ³¡ÀÔ´Ï´Ù. ^^;;

10. ÀÌÁ¦ Å×½ºÆ®¸¦ Çغ¸°Ú½À´Ï´Ù.

1) ¿ì¼± apache.exe¸¦ ½ÇÇàÇÕ´Ï´Ù.

2) À¥ ºê¶ó¿ìÀú ½ÇÇà url(ÁÖ¼Ò)¿¡ 127.0.0.1 or localhostÀ» Ä¡°í ¿£ÅÍ..

3) ¾Æ·¡¿Í °°Àº È­¸éÀÌ ³ª¿À¸é ¼º°øÇÑ °ÍÀÔ´Ï´Ù. ¿ä±â¿Í °°Àº È­¸é...

¸¸¾à ¾ÈµÇ¸é httpd.conf¿¡¼­ ȯ°æ¼³Á¤À» ÇÏÁö ¾ÊÀº °ÍÀÔ´Ï´Ù. ±×ÂÊÀ¸·Î feedback. ~!!

4) ¼º°øÀ» Çϼ̴ٸé apache/htdocs/ µð·ºÅ丮 ¾È¿¡

<?
phpinfo();
?>

ÀÇ ³»¿ëÀ» ´ã°í, ÀúÀåÀº test.php3·Î ÀúÀåÀ» ÇÕ´Ï´Ù. ±×¸®°í °°ÀÌ url¿¡¼­ http://127.0.0.1/test.php3¸¦ ½ÇÇà ½ÃÄÑÁÝ´Ï´Ù. ¿ä±â¿Í °°Àº È­¸é... °°Àº È­¸éÀÌ ³ª¿À¸é ¼º°øÀÔ´Ï´Ù.
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û Kimsboard 5.1.0 ¼³Ä¡¹ý 2001-10-17 04:28:15
´ÙÀ½°Ô½Ã±Û µµ¿ÍÁÖ¼¼¿ä... 2001-10-18 00:13:40