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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1430 | 18년 전 | 2992 | ||
| 1429 | 18년 전 | 2939 | ||
| 1428 | 18년 전 | 2832 | ||
| 1427 | 18년 전 | 2137 | ||
| 1426 |
|
18년 전 | 2320 | |
| 1425 |
|
18년 전 | 2872 | |
| 1424 |
|
18년 전 | 2969 | |
| 1423 |
frotone
|
18년 전 | 4143 | |
| 1422 | 18년 전 | 6132 | ||
| 1421 | 18년 전 | 2063 | ||
| 1420 | 18년 전 | 2190 | ||
| 1419 | 18년 전 | 1898 | ||
| 1418 | 18년 전 | 1656 | ||
| 1417 | 18년 전 | 2641 | ||
| 1416 | 18년 전 | 1708 | ||
| 1415 | 18년 전 | 1571 | ||
| 1414 | 18년 전 | 4745 | ||
| 1413 | 18년 전 | 1801 | ||
| 1412 | 18년 전 | 1849 | ||
| 1411 | 18년 전 | 1857 | ||
| 1410 | 18년 전 | 1983 | ||
| 1409 | 18년 전 | 3635 | ||
| 1408 | 18년 전 | 1661 | ||
| 1407 | 18년 전 | 1535 | ||
| 1406 | 18년 전 | 1359 | ||
| 1405 | 18년 전 | 1863 | ||
| 1404 | 18년 전 | 1913 | ||
| 1403 |
frotone
|
18년 전 | 3661 | |
| 1402 | 18년 전 | 1980 | ||
| 1401 | 18년 전 | 3120 | ||
| 1400 | 18년 전 | 4743 | ||
| 1399 | 18년 전 | 2871 | ||
| 1398 | 18년 전 | 8070 | ||
| 1397 | 18년 전 | 4069 | ||
| 1396 |
|
18년 전 | 2752 | |
| 1395 | 18년 전 | 1535 | ||
| 1394 | 18년 전 | 2632 | ||
| 1393 | 18년 전 | 5045 | ||
| 1392 | 18년 전 | 5231 | ||
| 1391 |
cncafe
|
18년 전 | 2108 | |
| 1390 |
mixdesign
|
18년 전 | 4357 | |
| 1389 | 18년 전 | 4107 | ||
| 1388 |
mixdesign
|
18년 전 | 4162 | |
| 1387 | 18년 전 | 2283 | ||
| 1386 | 18년 전 | 4192 | ||
| 1385 |
mixdesign
|
18년 전 | 2189 | |
| 1384 | 18년 전 | 3296 | ||
| 1383 | 18년 전 | 4931 | ||
| 1382 | 18년 전 | 1958 | ||
| 1381 |
오디세우스
|
18년 전 | 3419 | |
| 1380 |
mixdesign
|
18년 전 | 1658 | |
| 1379 | 18년 전 | 2753 | ||
| 1378 |
mixdesign
|
18년 전 | 1686 | |
| 1377 | 18년 전 | 2738 | ||
| 1376 |
|
18년 전 | 2561 | |
| 1375 |
|
18년 전 | 1571 | |
| 1374 |
|
18년 전 | 1511 | |
| 1373 |
|
18년 전 | 1756 | |
| 1372 | 18년 전 | 2249 | ||
| 1371 | 18년 전 | 2025 | ||
| 1370 | 18년 전 | 2393 | ||
| 1369 | 18년 전 | 4949 | ||
| 1368 |
mixdesign
|
18년 전 | 1828 | |
| 1367 | 18년 전 | 1271 | ||
| 1366 | 18년 전 | 1386 | ||
| 1365 | 18년 전 | 1346 | ||
| 1364 | 18년 전 | 1101 | ||
| 1363 | 18년 전 | 1089 | ||
| 1362 | 18년 전 | 1420 | ||
| 1361 | 18년 전 | 1381 | ||
| 1360 | 18년 전 | 2360 | ||
| 1359 | 18년 전 | 1235 | ||
| 1358 | 18년 전 | 1621 | ||
| 1357 | 18년 전 | 2111 | ||
| 1356 | 18년 전 | 1293 | ||
| 1355 | 18년 전 | 2846 | ||
| 1354 | 18년 전 | 1286 | ||
| 1353 | 18년 전 | 1664 | ||
| 1352 | 18년 전 | 1509 | ||
| 1351 | 18년 전 | 1468 | ||
| 1350 | 18년 전 | 1260 | ||
| 1349 | 18년 전 | 1089 | ||
| 1348 | 18년 전 | 1679 | ||
| 1347 | 18년 전 | 1125 | ||
| 1346 | 18년 전 | 3633 | ||
| 1345 | 18년 전 | 1724 | ||
| 1344 |
mixdesign
|
18년 전 | 1801 | |
| 1343 | 18년 전 | 1130 | ||
| 1342 | 18년 전 | 1859 | ||
| 1341 | 18년 전 | 1104 | ||
| 1340 | 18년 전 | 1170 | ||
| 1339 | 18년 전 | 1022 | ||
| 1338 | 18년 전 | 1019 | ||
| 1337 | 18년 전 | 1115 | ||
| 1336 |
|
18년 전 | 2591 | |
| 1335 | 18년 전 | 1549 | ||
| 1334 | 18년 전 | 1642 | ||
| 1333 | 18년 전 | 1205 | ||
| 1332 | 18년 전 | 1875 | ||
| 1331 | 18년 전 | 1524 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기