+++ ȨÁ¦ÀÛ ¹ÙÀ̺í +++
ȨÁ¦ÀÛ
¹ÙÀ̺í |
ÀÌ »çÀÌÆ®´Â ÀÌ¿µÂù´ÔÀÇ
»çÀÌÆ®¸¦ º¹¿øÇÑ °ÍÀÔ´Ï´Ù. |
|
Untitled Document
|
PHP
¼³Ä¡ |
|
|
|
¸ñÇ¥ : PHP3 ÄÄÆÄÀÏ¿¡ »ç¿ëÇÒ ¾ÆÆÄÄ¡ ¼Ò½º¿Í Çì´õ¸¦ Àӽ÷ΠǮ¾î ³õ´Â´Ù.
1. ÃֽŹöÀüÀÇ PHP3 ¸¦ ´Ù¿î ¹Þ´Â´Ù. (º» ¹®¼´Â 3.0.6 ±âÁØ)
htpp://www.php.net
2. FTP¸¦ ÀÌ¿ë ¼¹öÀÇ /tmp ¿¡ ¿Ã·Á ³õ´Â´Ù.
3. ¾ÐÃàÀ» DZ´Ï´Ù.
[/tmp]# zcat php-3_0_6_tar.gz | tar xvf -
4. php-3.0.6 µð·ºÅ丮°¡ »ý°å³ª È®ÀÎÇϽðí
[/tmp]# ls php*
php-3.0.6:
5. ÀÌÁ¦ µð·ºÅ丮¸¦ /usr/local/php ·Î ¿Å±âµµ·Ï ÇÏ°Ú½À´Ï´Ù.
[/tmp]# mv ./php-3.0.6/ /usr/local/php/
6. ¸¸µé¾îÁø /usr/local/php/ ·Î À̵¿ÇÕ´Ï´Ù.
[/tmp]# cd /usr/local/php/
7. ./setup À» ½ÇÇàÇÕ´Ï´Ù.
ÁÖÀÇ! :a. ¾ÆÆÄÄ¡´Â ¸ðµâ·Î ¼±ÅÃÇÏ°í Àӽ÷Π¸¸µç /tmp/apache ¸¦ ÀÔ·ÂÇÕ´Ï´Ù. b.
MySQL Àº ¹èÆ÷ µð·ºÅ丮ÀÎ /usr/local/mysql ¸¦ ¾Ð·ÂÇÕ´Ï´Ù. c.
Àß ¸ð¸£´Â ºÎºÐÀº ±âº¸°ªÀ¸·Î µÎ°í ¿£Å͸¦ Ä¡¼¼¿ä
[php]# ./setup
8. ÀÚ ÀÌÁ¦ make ¸¦ ½ÇÇàÇÕ´Ï´Ù.
[php]# make
9. ÀÚ ÀÌÁ¦ ¸¸µé¾îÁø ¸ðµâÀÌ ¾ÆÆÄÄ¡ÀÇ ¸ðµâ µð·ºÅ丮·Î º¹»ç µÇµµ·Ï ÇÕ´Ï´Ù.
[ php]# make install
mkdir -p /tmp/apache/src/modules/php3;
cp libmodphp3.a ./mod_php3.* ./php_version.h /tmp/apache/src/modules/php3;
cp ./apMakefile.tmpl /tmp/apache/src/modules/php3/Makefile.tmpl;
cp ./apMakefile.libdir /tmp/apache/src/modules/php3/Makefile.libdir;
cp libphp3.module /tmp/apache/src/modules/php3
10. ÀÚ ±×Åä·Ï ¿øÇÏ´ø PHP3 ¸ðµâÀÌ ¸ðµÎ ¸¸µé¾î Á³½À´Ï´Ù.
Á¦´ë·Î º¹»çµÇ¾ú³ª È®ÀÎÇØ º¾½Ã´Ù.
[php]# cd /tmp/apache/src/modules/
[root@sera modules]# ls p*
[root@sera modules]# ls php3/
Makefile.libdir libmodphp3.a mod_php3.c
php_version.h
Makefile.tmpl libphp3.module mod_php3.h
11. ÀÚ ¸ðµç Áغñ°¡ ÀÌÁ¦ ³¡³µ½À´Ï´Ù.
ÀÌÁ¦ ¾ÆÆÄÄ¡¸¦ ÄÄÆÄÀÏ ÇÏ´Â Àϸ¸ ³²¾Ò½À´Ï´Ù.
|
|
|
Update : 2000/04/27 |
[µ¹¾Æ°¡±â] |
|