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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 530 |
|
19년 전 | 1236 | |
| 529 |
|
19년 전 | 1421 | |
| 528 |
|
19년 전 | 1980 | |
| 527 |
사랑과우정
|
19년 전 | 2392 | |
| 526 | 19년 전 | 2872 | ||
| 525 |
|
19년 전 | 2302 | |
| 524 |
|
19년 전 | 1809 | |
| 523 | 19년 전 | 7045 | ||
| 522 |
|
19년 전 | 3731 | |
| 521 | 19년 전 | 2344 | ||
| 520 | 19년 전 | 2383 | ||
| 519 | 19년 전 | 2878 | ||
| 518 |
|
19년 전 | 5789 | |
| 517 |
|
19년 전 | 5564 | |
| 516 |
|
19년 전 | 2263 | |
| 515 |
|
19년 전 | 3305 | |
| 514 | 19년 전 | 2868 | ||
| 513 | 19년 전 | 2221 | ||
| 512 |
개발자관리자
|
19년 전 | 2733 | |
| 511 |
개발자관리자
|
19년 전 | 1588 | |
| 510 |
개발자관리자
|
19년 전 | 1743 | |
| 509 |
개발자관리자
|
19년 전 | 1851 | |
| 508 |
개발자관리자
|
19년 전 | 2012 | |
| 507 |
개발자관리자
|
19년 전 | 1691 | |
| 506 |
개발자관리자
|
19년 전 | 1812 | |
| 505 |
개발자관리자
|
19년 전 | 1777 | |
| 504 |
개발자관리자
|
19년 전 | 1861 | |
| 503 |
개발자관리자
|
19년 전 | 1524 | |
| 502 |
개발자관리자
|
19년 전 | 2656 | |
| 501 | 19년 전 | 2002 | ||
| 500 | 19년 전 | 3240 | ||
| 499 | 19년 전 | 3273 | ||
| 498 | 19년 전 | 2532 | ||
| 497 | 19년 전 | 2603 | ||
| 496 | 19년 전 | 2447 | ||
| 495 | 19년 전 | 2700 | ||
| 494 | 19년 전 | 2681 | ||
| 493 | 19년 전 | 3190 | ||
| 492 | 19년 전 | 2900 | ||
| 491 | 19년 전 | 5314 | ||
| 490 |
|
19년 전 | 2128 | |
| 489 |
|
19년 전 | 2214 | |
| 488 |
|
19년 전 | 2012 | |
| 487 |
|
19년 전 | 1947 | |
| 486 |
|
19년 전 | 1941 | |
| 485 |
|
19년 전 | 2148 | |
| 484 |
|
19년 전 | 3219 | |
| 483 |
|
19년 전 | 3104 | |
| 482 |
|
19년 전 | 2857 | |
| 481 |
|
19년 전 | 2554 | |
| 480 |
|
19년 전 | 2637 | |
| 479 |
|
19년 전 | 2301 | |
| 478 |
|
19년 전 | 2331 | |
| 477 |
개발자관리자
|
19년 전 | 1599 | |
| 476 |
개발자관리자
|
19년 전 | 2312 | |
| 475 |
개발자관리자
|
19년 전 | 2664 | |
| 474 |
개발자관리자
|
19년 전 | 2663 | |
| 473 |
개발자관리자
|
19년 전 | 2972 | |
| 472 | 19년 전 | 2741 | ||
| 471 | 19년 전 | 1737 | ||
| 470 | 19년 전 | 1832 | ||
| 469 |
|
19년 전 | 2734 | |
| 468 |
|
19년 전 | 2228 | |
| 467 |
|
19년 전 | 3999 | |
| 466 |
|
19년 전 | 2518 | |
| 465 | 19년 전 | 2383 | ||
| 464 | 19년 전 | 3531 | ||
| 463 |
|
19년 전 | 3104 | |
| 462 |
|
19년 전 | 2245 | |
| 461 |
|
19년 전 | 3039 | |
| 460 |
|
19년 전 | 2248 | |
| 459 |
|
19년 전 | 3114 | |
| 458 |
|
19년 전 | 3537 | |
| 457 |
|
19년 전 | 5219 | |
| 456 |
|
19년 전 | 3137 | |
| 455 |
스마일미디어
|
19년 전 | 3132 | |
| 454 |
스마일미디어
|
19년 전 | 2730 | |
| 453 |
스마일미디어
|
19년 전 | 2469 | |
| 452 |
스마일미디어
|
19년 전 | 2725 | |
| 451 |
스마일미디어
|
19년 전 | 2453 | |
| 450 |
스마일미디어
|
19년 전 | 2572 | |
| 449 |
스마일미디어
|
19년 전 | 2368 | |
| 448 |
스마일미디어
|
19년 전 | 2694 | |
| 447 | 19년 전 | 2961 | ||
| 446 |
스마일미디어
|
19년 전 | 3248 | |
| 445 |
스마일미디어
|
19년 전 | 7050 | |
| 444 |
스마일미디어
|
19년 전 | 5171 | |
| 443 |
스마일미디어
|
19년 전 | 2430 | |
| 442 |
스마일미디어
|
19년 전 | 5167 | |
| 441 |
스마일미디어
|
19년 전 | 3109 | |
| 440 |
|
19년 전 | 2469 | |
| 439 | 19년 전 | 2165 | ||
| 438 | 19년 전 | 3570 | ||
| 437 |
|
19년 전 | 2873 | |
| 436 |
|
19년 전 | 3251 | |
| 435 |
|
19년 전 | 2893 | |
| 434 | 19년 전 | 3385 | ||
| 433 |
sjsjin
|
19년 전 | 2714 | |
| 432 |
sjsjin
|
19년 전 | 3457 | |
| 431 |
sjsjin
|
19년 전 | 2418 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기