root@localhost rc.d]# cd /usr/local/apache_1.3.31
[root@localhost apache_1.3.31]# ./configure --prefix=/usr/local/apache
[root@localhost apache_1.3.31]# cd /usr/local/php-4.3.7
[root@localhost php-4.3.7]# ./configure --with-config-file-path=/etc \
> --with-exec-prefix=/usr/bin \
> --with-mysql=/usr/local/mysql \
> --with-apache=../apache_1.3.31(자신에게 깔려있는 버전으로 작성할 것) \
> --with-zlib-dir=/usr/lib/ \
> --with-language=korean \
> --disable-debug \
> --enable-track-vars \
> --enable-safe-mode \
> --enable-gd-native-ttf \
> --with-charset=euc-kr (mysql 버전이 4.1.0이상일 경우 : euc-kr을 euckr로 수정할 것)
root@localhost php-4.3.7]# make
[root@localhost php-4.3.7]# make install
[root@localhost php-4.3.7]# cp ./php.ini-dist /etc/php.ini
root@localhost php-4.3.7]# cd /usr/local/apache_1.3.31
[root@localhost apache_1.3.31]# ./configure --prefix=/usr/local/apache \
> --activate-module=src/modules/php4/libphp4.a \
> --enable-module=so \
> --enable-shared=max \
> --sysconfdir=/usr/local/apache/conf \
> --htdocsdir=/usr/local/apache/htdocs \
> --logfiledir=/var/log/httpd
root@localhost apache_1.3.31]# make
root@localhost apache_1.3.31]# make install
[root@localhost apache_1.3.31]# vi /usr/local/apache/conf/httpd.conf
※ 다른 활성창이 뜨면 영문 ‘i’를 친후 방향키로 확인하여 아래부분을 수정한다.
318 번째 줄에서
ServerName www.example.com → ServerName http://211.112.244.(000) ※ ()는 리눅스상에 설정하였던 본인의 ip주소
799 번째 줄에서
AddType application/x-tar .tgz
↓
AddType application/x-tar .tgz
AddType application/x-httpd-php .php .php3 .inc .ph .htm .html
AddType application/x-httpd-php-source .phps
359번째 줄에서
Options Indexes FollowSymLinks MultiViews ( Indexes삭제)
↓
Options FollowSymLinks MultiViews
입력이 완료되면 'esc'버튼을 누른후 “:”를(shift + ;) 치고 맨 하단에 “:”가 뜨면 "wq!"를 친후
enter'을 치면 다시 이전 화면으로 복귀
[root@localhost apache_1.3.31]# cp -p /usr/local/apache/bin/apachectl /etc/rc.d/init.d/httpd
[root@localhost apache_1.3.31]# /etc/rc.d/init.d/httpd start
[root@localhost apache_1.3.31]# cd /usr/local/apache/htdocs
[root@localhost htdocs]# vi test.php
※ 다른 활성창이 뜨면 영문 ‘i’를 친후 방향키로 확인
<?
phpinfo();
?>
※ 입력이 완료되면 'esc'버튼을 누른후 “:”를(shift + ;) 치고 맨 하단에 “:”가 뜨면 "wq!"를 친후
'enter'을 치면 다시 이전 화면으로 복귀한다.
위와같이 저장하고 원격에서 인터넷 익스플로를 실행하여 주소창에 아래와 같이 입력한다.
http://본인의URL/test.php 또는 http://localhost/test.php<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
[root@localhost apache_1.3.31]# ./configure --prefix=/usr/local/apache
[root@localhost apache_1.3.31]# cd /usr/local/php-4.3.7
[root@localhost php-4.3.7]# ./configure --with-config-file-path=/etc \
> --with-exec-prefix=/usr/bin \
> --with-mysql=/usr/local/mysql \
> --with-apache=../apache_1.3.31(자신에게 깔려있는 버전으로 작성할 것) \
> --with-zlib-dir=/usr/lib/ \
> --with-language=korean \
> --disable-debug \
> --enable-track-vars \
> --enable-safe-mode \
> --enable-gd-native-ttf \
> --with-charset=euc-kr (mysql 버전이 4.1.0이상일 경우 : euc-kr을 euckr로 수정할 것)
root@localhost php-4.3.7]# make
[root@localhost php-4.3.7]# make install
[root@localhost php-4.3.7]# cp ./php.ini-dist /etc/php.ini
root@localhost php-4.3.7]# cd /usr/local/apache_1.3.31
[root@localhost apache_1.3.31]# ./configure --prefix=/usr/local/apache \
> --activate-module=src/modules/php4/libphp4.a \
> --enable-module=so \
> --enable-shared=max \
> --sysconfdir=/usr/local/apache/conf \
> --htdocsdir=/usr/local/apache/htdocs \
> --logfiledir=/var/log/httpd
root@localhost apache_1.3.31]# make
root@localhost apache_1.3.31]# make install
[root@localhost apache_1.3.31]# vi /usr/local/apache/conf/httpd.conf
※ 다른 활성창이 뜨면 영문 ‘i’를 친후 방향키로 확인하여 아래부분을 수정한다.
318 번째 줄에서
ServerName www.example.com → ServerName http://211.112.244.(000) ※ ()는 리눅스상에 설정하였던 본인의 ip주소
799 번째 줄에서
AddType application/x-tar .tgz
↓
AddType application/x-tar .tgz
AddType application/x-httpd-php .php .php3 .inc .ph .htm .html
AddType application/x-httpd-php-source .phps
359번째 줄에서
Options Indexes FollowSymLinks MultiViews ( Indexes삭제)
↓
Options FollowSymLinks MultiViews
입력이 완료되면 'esc'버튼을 누른후 “:”를(shift + ;) 치고 맨 하단에 “:”가 뜨면 "wq!"를 친후
enter'을 치면 다시 이전 화면으로 복귀
[root@localhost apache_1.3.31]# cp -p /usr/local/apache/bin/apachectl /etc/rc.d/init.d/httpd
[root@localhost apache_1.3.31]# /etc/rc.d/init.d/httpd start
[root@localhost apache_1.3.31]# cd /usr/local/apache/htdocs
[root@localhost htdocs]# vi test.php
※ 다른 활성창이 뜨면 영문 ‘i’를 친후 방향키로 확인
<?
phpinfo();
?>
※ 입력이 완료되면 'esc'버튼을 누른후 “:”를(shift + ;) 치고 맨 하단에 “:”가 뜨면 "wq!"를 친후
'enter'을 치면 다시 이전 화면으로 복귀한다.
위와같이 저장하고 원격에서 인터넷 익스플로를 실행하여 주소창에 아래와 같이 입력한다.
http://본인의URL/test.php 또는 http://localhost/test.php<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 130 | 20년 전 | 4003 | ||
| 129 | 20년 전 | 2941 | ||
| 128 | 20년 전 | 3675 | ||
| 127 | 20년 전 | 3511 | ||
| 126 | 20년 전 | 3765 | ||
| 125 | 20년 전 | 8593 | ||
| 124 | 20년 전 | 2602 | ||
| 123 | 20년 전 | 3749 | ||
| 122 | 20년 전 | 3209 | ||
| 121 | 20년 전 | 2611 | ||
| 120 | 20년 전 | 2673 | ||
| 119 | 20년 전 | 2586 | ||
| 118 | 20년 전 | 2861 | ||
| 117 |
|
20년 전 | 3061 | |
| 116 | 20년 전 | 5313 | ||
| 115 | 20년 전 | 3924 | ||
| 114 | 20년 전 | 4973 | ||
| 113 | 20년 전 | 6212 | ||
| 112 | 20년 전 | 7325 | ||
| 111 | 20년 전 | 18431 | ||
| 110 | 20년 전 | 6875 | ||
| 109 | 20년 전 | 2883 | ||
| 108 | 20년 전 | 4139 | ||
| 107 |
prosper
|
20년 전 | 2501 | |
| 106 |
prosper
|
20년 전 | 4319 | |
| 105 |
아우겐나이스
|
20년 전 | 2913 | |
| 104 | 20년 전 | 2260 | ||
| 103 | 20년 전 | 2478 | ||
| 102 | 20년 전 | 2260 | ||
| 101 | 20년 전 | 2576 | ||
| 100 | 20년 전 | 1750 | ||
| 99 | 20년 전 | 1571 | ||
| 98 | 20년 전 | 1618 | ||
| 97 | 20년 전 | 2130 | ||
| 96 | 20년 전 | 1878 | ||
| 95 | 20년 전 | 2378 | ||
| 94 | 20년 전 | 3567 | ||
| 93 | 20년 전 | 1564 | ||
| 92 | 20년 전 | 1757 | ||
| 91 | 20년 전 | 3183 | ||
| 90 | 20년 전 | 2343 | ||
| 89 | 20년 전 | 3171 | ||
| 88 | 20년 전 | 2872 | ||
| 87 | 20년 전 | 3297 | ||
| 86 | 20년 전 | 5136 | ||
| 85 | 20년 전 | 2521 | ||
| 84 | 20년 전 | 4825 | ||
| 83 | 20년 전 | 2507 | ||
| 82 | 20년 전 | 3123 | ||
| 81 | 20년 전 | 7630 | ||
| 80 | 20년 전 | 3825 | ||
| 79 | 20년 전 | 3210 | ||
| 78 | 20년 전 | 4697 | ||
| 77 | 20년 전 | 2902 | ||
| 76 | 20년 전 | 6220 | ||
| 75 | 20년 전 | 4470 | ||
| 74 | 20년 전 | 5783 | ||
| 73 | 20년 전 | 3627 | ||
| 72 | 20년 전 | 5970 | ||
| 71 | 20년 전 | 3119 | ||
| 70 | 20년 전 | 2845 | ||
| 69 | 20년 전 | 2642 | ||
| 68 | 20년 전 | 2448 | ||
| 67 | 20년 전 | 2657 | ||
| 66 | 20년 전 | 2673 | ||
| 65 | 20년 전 | 3791 | ||
| 64 | 20년 전 | 2828 | ||
| 63 | 20년 전 | 2457 | ||
| 62 | 20년 전 | 2266 | ||
| 61 | 20년 전 | 3078 | ||
| 60 | 20년 전 | 3134 | ||
| 59 | 20년 전 | 2520 | ||
| 58 | 20년 전 | 2591 | ||
| 57 | 20년 전 | 2967 | ||
| 56 | 20년 전 | 2321 | ||
| 55 | 20년 전 | 2763 | ||
| 54 | 20년 전 | 2128 | ||
| 53 | 20년 전 | 2355 | ||
| 52 | 20년 전 | 2700 | ||
| 51 |
prosper
|
21년 전 | 2351 | |
| 50 |
prosper
|
21년 전 | 2171 | |
| 49 | 21년 전 | 2180 | ||
| 48 | 21년 전 | 2344 | ||
| 47 | 21년 전 | 1935 | ||
| 46 | 21년 전 | 1930 | ||
| 45 | 21년 전 | 2136 | ||
| 44 | 21년 전 | 2362 | ||
| 43 | 21년 전 | 4583 | ||
| 42 |
prosper
|
21년 전 | 2716 | |
| 41 |
prosper
|
21년 전 | 2115 | |
| 40 | 21년 전 | 2180 | ||
| 39 | 21년 전 | 2148 | ||
| 38 | 21년 전 | 2421 | ||
| 37 | 21년 전 | 2570 | ||
| 36 | 21년 전 | 1777 | ||
| 35 | 21년 전 | 4073 | ||
| 34 | 21년 전 | 3851 | ||
| 33 | 21년 전 | 2990 | ||
| 32 |
prosper
|
21년 전 | 2905 | |
| 31 | 21년 전 | 5285 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기