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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4430 | 13년 전 | 829 | ||
| 4429 | 13년 전 | 1154 | ||
| 4428 | 13년 전 | 1943 | ||
| 4427 | 13년 전 | 1060 | ||
| 4426 | 13년 전 | 522 | ||
| 4425 | 13년 전 | 9886 | ||
| 4424 |
|
13년 전 | 853 | |
| 4423 |
|
13년 전 | 733 | |
| 4422 |
aequum
|
13년 전 | 1302 | |
| 4421 | 13년 전 | 2419 | ||
| 4420 | 13년 전 | 1207 | ||
| 4419 | 13년 전 | 889 | ||
| 4418 |
한번잘해보자
|
13년 전 | 672 | |
| 4417 | 13년 전 | 1580 | ||
| 4416 | 13년 전 | 875 | ||
| 4415 | 13년 전 | 2257 | ||
| 4414 | 13년 전 | 685 | ||
| 4413 | 13년 전 | 681 | ||
| 4412 | 13년 전 | 823 | ||
| 4411 | 13년 전 | 1447 | ||
| 4410 |
|
13년 전 | 736 | |
| 4409 | 13년 전 | 2172 | ||
| 4408 |
visualp
|
13년 전 | 538 | |
| 4407 |
visualp
|
13년 전 | 3091 | |
| 4406 |
visualp
|
13년 전 | 3261 | |
| 4405 |
visualp
|
13년 전 | 3159 | |
| 4404 |
visualp
|
13년 전 | 2981 | |
| 4403 |
|
13년 전 | 674 | |
| 4402 |
gender
|
13년 전 | 629 | |
| 4401 | 13년 전 | 1122 | ||
| 4400 |
aequum
|
13년 전 | 1386 | |
| 4399 | 13년 전 | 594 | ||
| 4398 | 13년 전 | 675 | ||
| 4397 |
|
13년 전 | 591 | |
| 4396 |
aequum
|
13년 전 | 4666 | |
| 4395 |
|
13년 전 | 573 | |
| 4394 |
aequum
|
13년 전 | 4942 | |
| 4393 |
|
13년 전 | 1274 | |
| 4392 | 13년 전 | 1064 | ||
| 4391 |
mirrV
|
13년 전 | 545 | |
| 4390 |
파워웹프로
|
13년 전 | 711 | |
| 4389 | 13년 전 | 1232 | ||
| 4388 |
Coding
|
13년 전 | 710 | |
| 4387 |
aequum
|
13년 전 | 1367 | |
| 4386 | 13년 전 | 872 | ||
| 4385 | 13년 전 | 722 | ||
| 4384 | 13년 전 | 790 | ||
| 4383 | 13년 전 | 2905 | ||
| 4382 | 13년 전 | 617 | ||
| 4381 | 13년 전 | 1193 | ||
| 4380 | 13년 전 | 816 | ||
| 4379 |
|
13년 전 | 751 | |
| 4378 | 13년 전 | 666 | ||
| 4377 | 13년 전 | 3301 | ||
| 4376 |
aequum
|
13년 전 | 1220 | |
| 4375 |
클로로다인
|
13년 전 | 651 | |
| 4374 |
DDFACTORY
|
13년 전 | 721 | |
| 4373 |
까탈스런ET
|
13년 전 | 711 | |
| 4372 | 13년 전 | 814 | ||
| 4371 | 13년 전 | 576 | ||
| 4370 |
|
13년 전 | 653 | |
| 4369 |
프리프리닷
|
13년 전 | 1310 | |
| 4368 | 13년 전 | 3177 | ||
| 4367 |
soing
|
13년 전 | 1585 | |
| 4366 |
|
13년 전 | 687 | |
| 4365 |
|
13년 전 | 623 | |
| 4364 |
|
13년 전 | 762 | |
| 4363 |
|
13년 전 | 626 | |
| 4362 |
|
13년 전 | 731 | |
| 4361 |
|
13년 전 | 846 | |
| 4360 |
|
13년 전 | 651 | |
| 4359 |
|
13년 전 | 3129 | |
| 4358 |
|
13년 전 | 3043 | |
| 4357 | 13년 전 | 842 | ||
| 4356 | 13년 전 | 1346 | ||
| 4355 | 13년 전 | 970 | ||
| 4354 | 13년 전 | 821 | ||
| 4353 | 13년 전 | 3375 | ||
| 4352 | 13년 전 | 2378 | ||
| 4351 | 13년 전 | 1969 | ||
| 4350 |
|
13년 전 | 1888 | |
| 4349 | 13년 전 | 667 | ||
| 4348 |
aequum
|
13년 전 | 1431 | |
| 4347 | 13년 전 | 672 | ||
| 4346 |
|
13년 전 | 572 | |
| 4345 | 13년 전 | 601 | ||
| 4344 |
aequum
|
13년 전 | 1012 | |
| 4343 |
|
13년 전 | 1048 | |
| 4342 |
aequum
|
13년 전 | 1647 | |
| 4341 | 13년 전 | 814 | ||
| 4340 |
2번호랑이
|
13년 전 | 1012 | |
| 4339 |
|
13년 전 | 1175 | |
| 4338 | 13년 전 | 1170 | ||
| 4337 | 13년 전 | 523 | ||
| 4336 |
aequum
|
13년 전 | 1712 | |
| 4335 | 13년 전 | 896 | ||
| 4334 | 13년 전 | 1195 | ||
| 4333 |
Sturmvogel
|
13년 전 | 971 | |
| 4332 |
aequum
|
13년 전 | 1287 | |
| 4331 |
aequum
|
13년 전 | 1409 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기