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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7630 | 10년 전 | 633 | ||
| 7629 |
|
10년 전 | 2334 | |
| 7628 | 10년 전 | 768 | ||
| 7627 |
|
10년 전 | 991 | |
| 7626 |
|
10년 전 | 1754 | |
| 7625 | 10년 전 | 654 | ||
| 7624 | 10년 전 | 680 | ||
| 7623 |
|
10년 전 | 2999 | |
| 7622 | 10년 전 | 683 | ||
| 7621 |
leeleeleelee
|
10년 전 | 562 | |
| 7620 | 10년 전 | 524 | ||
| 7619 | 10년 전 | 446 | ||
| 7618 | 10년 전 | 991 | ||
| 7617 | 10년 전 | 707 | ||
| 7616 | 10년 전 | 603 | ||
| 7615 | 10년 전 | 698 | ||
| 7614 | 10년 전 | 1204 | ||
| 7613 |
|
10년 전 | 2043 | |
| 7612 | 10년 전 | 1112 | ||
| 7611 | 10년 전 | 1378 | ||
| 7610 |
|
10년 전 | 1871 | |
| 7609 |
|
10년 전 | 1283 | |
| 7608 |
mwdkim
|
10년 전 | 1090 | |
| 7607 |
|
10년 전 | 1017 | |
| 7606 |
mwdkim
|
10년 전 | 3895 | |
| 7605 | 10년 전 | 660 | ||
| 7604 | 10년 전 | 999 | ||
| 7603 | 10년 전 | 1624 | ||
| 7602 |
|
10년 전 | 1040 | |
| 7601 |
AniNest
|
10년 전 | 2755 | |
| 7600 |
port443
|
10년 전 | 987 | |
| 7599 | 10년 전 | 914 | ||
| 7598 | 10년 전 | 988 | ||
| 7597 | 10년 전 | 4550 | ||
| 7596 |
SeungYeon
|
10년 전 | 862 | |
| 7595 |
untitled
|
10년 전 | 2383 | |
| 7594 |
프로그래머7
|
10년 전 | 1699 | |
| 7593 |
untitled
|
10년 전 | 2337 | |
| 7592 |
untitled
|
10년 전 | 1905 | |
| 7591 |
untitled
|
10년 전 | 2646 | |
| 7590 |
아리마2001
|
10년 전 | 816 | |
| 7589 | 10년 전 | 1075 | ||
| 7588 |
|
10년 전 | 2886 | |
| 7587 | 10년 전 | 1268 | ||
| 7586 | 10년 전 | 630 | ||
| 7585 | 10년 전 | 1649 | ||
| 7584 | 10년 전 | 1384 | ||
| 7583 |
leeleeleelee
|
10년 전 | 1117 | |
| 7582 |
|
10년 전 | 1068 | |
| 7581 | 10년 전 | 1302 | ||
| 7580 | 10년 전 | 940 | ||
| 7579 |
|
10년 전 | 577 | |
| 7578 | 10년 전 | 1384 | ||
| 7577 |
|
10년 전 | 1849 | |
| 7576 | 10년 전 | 1363 | ||
| 7575 |
멋진남자임
|
10년 전 | 1443 | |
| 7574 | 10년 전 | 2080 | ||
| 7573 | 10년 전 | 3212 | ||
| 7572 | 10년 전 | 743 | ||
| 7571 |
|
10년 전 | 770 | |
| 7570 |
|
10년 전 | 1282 | |
| 7569 | 10년 전 | 1516 | ||
| 7568 |
this1mg
|
10년 전 | 1020 | |
| 7567 |
|
10년 전 | 727 | |
| 7566 | 10년 전 | 887 | ||
| 7565 |
Angel하늘
|
10년 전 | 955 | |
| 7564 |
seoldi
|
10년 전 | 1194 | |
| 7563 |
|
10년 전 | 1344 | |
| 7562 |
멋진남자임
|
10년 전 | 2041 | |
| 7561 | 10년 전 | 679 | ||
| 7560 |
leeleeleelee
|
10년 전 | 874 | |
| 7559 | 10년 전 | 5005 | ||
| 7558 |
RinaP
|
10년 전 | 753 | |
| 7557 |
|
10년 전 | 1216 | |
| 7556 | 10년 전 | 1167 | ||
| 7555 |
hyohyojj1234
|
10년 전 | 1631 | |
| 7554 | 10년 전 | 1066 | ||
| 7553 |
senseme
|
10년 전 | 1319 | |
| 7552 |
ehdltdoit
|
10년 전 | 1412 | |
| 7551 |
|
10년 전 | 1790 | |
| 7550 |
leeleeleelee
|
10년 전 | 1553 | |
| 7549 | 10년 전 | 2391 | ||
| 7548 | 10년 전 | 1811 | ||
| 7547 |
멋진남자임
|
10년 전 | 1919 | |
| 7546 | 10년 전 | 964 | ||
| 7545 |
ILMare1003
|
10년 전 | 1252 | |
| 7544 |
|
10년 전 | 1208 | |
| 7543 | 10년 전 | 860 | ||
| 7542 | 10년 전 | 633 | ||
| 7541 |
울라라라우
|
10년 전 | 843 | |
| 7540 | 10년 전 | 1575 | ||
| 7539 | 10년 전 | 893 | ||
| 7538 |
|
10년 전 | 1805 | |
| 7537 | 10년 전 | 3580 | ||
| 7536 |
Gaumi
|
10년 전 | 1376 | |
| 7535 |
프로그램은어려워
|
10년 전 | 1241 | |
| 7534 |
senseme
|
10년 전 | 1189 | |
| 7533 | 10년 전 | 1164 | ||
| 7532 | 10년 전 | 830 | ||
| 7531 | 10년 전 | 2023 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기