Easter's Heaven
by easter
카테고리
이전블로그
윈도우즈P에 Apache, PHP, MySQL 설치하기

 Apache 2.2 설치하기

 

① 다운로드 받기

 

    http://httpd.apache.org/download.cgi 에서

    apache_2.2.2-win32-x86-no_ssl.msi 파일을 다운로드 받거나

 

    http://www.always.pe.kr/download/apache_2.2.2-win32-x86-no_ssl.msi

    파일을 직접 다운로드 받는다. (몽순이네 전용 서버)

 

② 다운로드 받은 파일을 실행하여 설치한다.

    Apache 설치 경로는 가급적 C:\Apache2.2 정도로 간단하게 한다.

 

③ 설치된 Apache 디렉토리에서 conf 폴더를 찾아 httpd.conf 파일을 노드패드 등으로 오픈한다.

   

④ httpd.conf 파일을 다음과 같이 수정한다.

 

    ....

    ServerRoot "C:/Apache2.2"                 # 아파치2.2 설치경로

    ...

    Listen 80                                           # Listen 소켓 포트 번호 (웹서버의 일반적 포트번호)

    ...

    LoadModule actions_module modules/mod_actions.so    # 필요한 모듈의 주석 제거

    ...

    ServerAdmin jjeowl@naver.com            # 아파치 서버 관리자의 이메일 주소

    ...

    ServerName localhost:80                     # 아파치 웹서버의 도메인네임과 포트번호

    ...

    DocumentRoot "C:/Apache2.2/htdocs"  # 웹서버의 www 루트 패스

    ...

    AddDefaultCharset EUC-KR                 # 적당한 위치에 추가 (한글이 깨지지 않도록)

 

⑤ 윈도우즈의 내컴퓨터 속성 -> 고급 -> 환경변수 -> 시스템 변수 -> Path 값 수정

    Path에 Apache 설치 디렉토리인 ";C:/Apache2.2" 를 추가한다.

   


 
 
⑥ Apache 를 실행시켜 환경 세팅이 성공했는지 확인한다.
    윈도우즈 시스트레이에 있는 Apache Server 2.2를 실행시킨다.

 
 
 
 
 MySQL 5.0 설치하기

 

① 다운로드 받기

 

    http://dev.mysql.com/downloads/mysql/5.0.html 에서

    Windows (x86)용 파일을 다운로드 받아 압축을 풀고 setup.exe 를 설치하거나

 

    http://www.always.pe.kr/download/mysql-5.0.22-win32.zip

    파일을 직접 다운로드 받아 압축을 풀고 setup.exe 를 설치한다. (몽순이네 전용 서버)

 

② 설치후 윈도우즈 시작 메뉴에서 MySQL Server Instance Configuration Wizard 메뉴를 찾아

    실행시키고 패스워드등 필요한 부분을 세팅한다.

 


 
 
③ MySQL Command Line Client 메뉴를 실행시키고 패스워드를 입력해서 정상적으로 mysql이
    작동하는지 확인한다.
 
 
 
④ 설치된 MySQL 디렉토리에서 my.ini 파일을 찾아 노트패드등으로 오픈한다.
 
⑤ my.ini 파일을 다음과 같이 수정한다.
 
    default-character-set 을 찾아
    default-character-set=euckr   (2군데 있다)
 
⑥ 윈도우즈의 내컴퓨터 속성 -> 고급 -> 환경변수 -> 시스템 변수 -> Path 값 수정

    Path에 MySQL 설치 디렉토리 Path가 있는지 확인하고 없을경우 

    ";C:\MySQL Server 5.0\bin" 과 같이 MySQL 의 bin 디렉토리를 추가한다.

 


 
 
 
 
 PHP 5.1 설치하기
 
① 다운로드 받기
 
    PHP zip package 파일을 다운로드 받아 압축을 풀거나
 
    파일을 직접 다운로드 받아 압축을 푼다. (몽순이네 전용 서버)
 
② C:\php5 폴더를 만들고 압축을 풀어놓은 파일들을 모두 복사한다.
 
③ C:\php5 디렉토리에서 php.ini-dist 파일을 php.ini 라는 이름으로 복사한다.
 

④ php.ini 파일을 노트패드 등으로 오픈하고 다음과 같이 수정한다.

    ...

    register_globals = Off

    ...

    extension=php_mysql.dll   (mysql db를 사용할 예정이므로 이 부분의 주석은 제거한다)

    ...

    extension_dir = "C:\php5\ext"  (extension 파일들의 디렉토리 경로를 설정한다)

 

⑤ Apache 서버를 설치했던 디렉토리를 찾아 conf 폴더의 httpd.conf를 세팅해 php를 설치한다.

 

    윈도우즈XP Apache 2.2 서버에 PHP를 설치하는 방법은 두가지가 있다.

    하나는 CGI 바이너리를 사용하는 방법이고 또 하나는 아파치 모듈 DLL 을 사용하는 방법이다.

    두 경우 모두 먼저 Apache 서버를 중지시키고 Apache 서버가 PHP와 결합될수 있도록

    httpd.conf 파일을 오픈하고 수정해야 한다.

    (http://kr.php.net/manual/kr/install.apache2.php 를 참고하면 php 설치에 도움을 받을 수

     있다.)

 

    ▪ 아파치 모듈 DLL을 사용하는 경우 (추천)

      먼저 C:/php5 디렉토리의 php5ts.dll 파일을 windows\system32 디렉토리로 복사한다.

      그 다음 httpd.conf 파일을 다음과 같이 수정한다.

 

     

 

    ▪ CGI 바이너리를 사용하는 경우

     httpd.conf 파일을 다음과 같이 수정한다.

 

     

 

⑥ Apache 서버의 httpd.conf 파일에 다음 내용을 추가해서 php.ini 경로를 알려준다

 

    PHPIniDir "C:/php5"

 

⑦ 윈도우즈의 내컴퓨터 속성 -> 고급 -> 환경변수 -> 시스템 변수 -> Path 값 수정

    Path에 PHP5 설치 디렉토리 ";C:\php5" 를 추가한다.

 

 

 
 
⑧ Apache 2.2 서버를 다시 Start 시킨다.

    만약 문제가 발생해서 아파치 서버를 실행시킬 수 없을경우 아래와 같은 방법을 따른다.

 

 

 

 
 Apache 2.2와 PHP 5.1 의 연동 에러 해결방법
 
현재 Apache 2.2와 PHP 5.1은 공식적으로 호환되지 않기 때문에 Apache 2.2 서버를
Start 시키면 "Cannot load php5apache2.dll" 라는 메시지가 뜬다.
 
PHP를 Apache 2.2 서버에 인식시키기 위해서는 새로운 php5appche2.dll 파일을 다운로드
받아야 설치해야 한다.
 
 
① 다운로드 받기
 
    http://www.apachelounge.com/download/ 에서 php5apache2.dll-php5.1.x.zip
    파일을 다운로드 받아 압축을 풀거나
 
    파일을 직접 다운로드 받아 압축을 푼다. (몽순이네 전용 서버)
 
② 압축을 풀어놓은 파일중에 php5apache2.dll 을 찾아 PHP 설치 디렉토리인 "C:/php5"에
    복사한다.
 
③ 압축을 풀어놓은 파일중에 httpd.exe.manifest 를 찾아 Apache 2.2 서버의 bin 설치
    디렉토리인 "C:/Apache2.2/bin"에 복사한다.
 
④ Visual C++ 2005 Redistributable Package 를 설치한다.
 
   ( .NET Framework 2가 설치되어 있으면 skip 한다. )
 
⑤ Apache 2.2 서버를 다시 Start 시켜서 정상적으로 작동하는지 확인한다.
 

 

 

 

 

 Apache 2.2 서버 작동 테스트

 

① 노트패드를 오픈하고 다음의 내용을 입력한 후 index.html 이라는 이름으로 저장한다.

 

    phpinfo();
?>

 

Apache 2.2 서버의 root 폴더인 "C:/Apache2.2/htdocs" 디렉토리에 원래 존재하던

    index.html 파일의 이름을 index.ht_ 로 변경한 후 새로 만든 index.html 파일을 복사한다.

 

③ 인터넷 익스플로러 등의 웹 브라우저를 열고 주소창에 "localhost" 라고 입력한다.

 

④ PHP 5.1.4 정보 화면이 나타나면 설치 성공!

 

이 글과 관련있는 글을 자동검색한 결과입니다 [?]

by easter | 2007/01/11 11:35 | 트랙백(88) | 덧글(6)
트랙백 주소 : http://easter.egloos.com/tb/2967850
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]
Tracked from at 2007/03/21 22:02

제목 : dog bowls
dogs licking pussy black hairy pussy wife sucks horse cock...more

Tracked from at 2007/03/22 01:00

제목 : levitra buy
buy dosages levitra buy generic levitra buy levitra cheap online...more

Tracked from at 2007/03/22 02:38

제목 : teen cleavage
mature pussy nude teen boys milf pussy...more

Tracked from at 2007/03/22 09:25

제목 : buy viagra now
buy cheap generic cialis buy viagra online buy cheap cialis...more

Tracked from at 2007/03/22 23:36

제목 : levitra buy
buy levitra online buy levitra buy generic levitra...more

Tracked from at 2007/03/23 02:43

제목 : buy cheap levitra
buy levitra on line buy dosages levitra buy levitra cheap online...more

Tracked from at 2007/03/24 20:17

제목 : squirt pussy
anal rimming anal squirt girls butts...more

Tracked from at 2007/03/25 01:06

제목 : levitra buy
buy cheap levitra buy levitra online buy levitra on line...more

Tracked from at 2007/03/25 07:55

제목 : free tranny videos
heshe brooke burke in lingerie tranny saloon...more

Tracked from at 2007/03/25 08:07

제목 : buy generic viagra
buy online cialis buy cheap viagra buy cheap generic cialis...more

Tracked from at 2007/03/25 23:00

제목 : levitra buy
buy levitra buy generic levitra buy levitra online...more

Tracked from at 2007/03/26 06:34

제목 : hot shemale
men caught wearing pantyhose shemale toons discount lingerie...more

Tracked from at 2007/04/02 08:04

제목 : generico viagra
compra de viagra compra viagra viagra comprar...more

Tracked from at 2007/04/03 05:42

제목 : lesbians kissing sample movies
manga babes teen lesbains sailor mars hentai...more

Tracked from at 2007/04/03 05:44

제목 : teens wearing thongs
mature bbw teen titans porn free milf...more

Tracked from at 2007/04/03 06:01

제목 : she squirts
herfirstbigcock masturbating women myfriendshotmom...more

Tracked from at 2007/04/03 06:02

제목 : teen cleavage gallery
teen model portfolios mature latinas teen naturalist...more

Tracked from at 2007/04/03 06:24

제목 : viagra generica
compra viagra compra de viagra viagra comprar...more

Tracked from at 2007/04/03 07:56

제목 : 25 weeks pregnant
interracial slut wives pregnant clips black and white nude photography...more

Tracked from at 2007/04/03 10:05

제목 : teacher rape
free rape porn female exhibitionism cartoon rape...more

Tracked from at 2007/04/03 10:22

제목 : raven symone breast
wet tits large dildos busty blondes...more

Tracked from at 2007/04/03 10:36

제목 : atk hairy
next door nikki topless techniques for fingering a girl first time lesbian experience...more

Tracked from at 2007/04/03 12:18

제목 : pregnant sluts
pregnant belly gallery free interracial stories 30 weeks pregnant...more

Tracked from at 2007/04/03 12:49

제목 : argentina voyeur
voyeur web.com japanese upskirt camera voyeur...more

Tracked from at 2007/04/03 13:13

제목 : fist anal
guide to fisting fucking the boss hardcore fisting...more

Tracked from at 2007/04/03 13:16

제목 : pee badly
wet my pants embarrassing piss and shit executive restrooms...more

Tracked from at 2007/04/03 13:34

제목 : men ejaculating
thong g string ass pussy squirting carly pump that ass...more

Tracked from at 2007/04/03 13:38

제목 : teen cameltoe
cum guzzlers camel toe teen simpsons fuck...more

Tracked from at 2007/04/03 13:43

제목 : buy cheap levitra
levitra buy buy levitra on line buy dosages levitra...more

Tracked from at 2007/04/03 14:11

제목 : fat burner
latina pussy fat boobs latina booty...more

Tracked from at 2007/04/03 14:38

제목 : sexy camel toes
rate my camel toe college fuck camel toe nude...more

Tracked from at 2007/04/03 14:38

제목 : homemade cheesecake
homemade spaghetti sauce blonde pubic amatuer match...more

Tracked from at 2007/04/03 14:41

제목 : buy generic levitra
buy levitra levitra buy buy levitra cheap online...more

Tracked from at 2007/04/03 14:48

제목 : free teen lesbian orgy
dbz lesbian hentai galleries lesbian clit...more

Tracked from at 2007/04/03 15:39

제목 : blonde breasts
homemade icecream blonde masturbating amature straight guys...more

Tracked from at 2007/04/03 16:40

제목 : teens fisting
boss pedals xnxx fisting gallery who\'s the boss...more

Tracked from at 2007/04/10 01:00

제목 : tranny isle
skimpy lingerie tranny videos very revealing lingerie...more

Tracked from at 2007/04/10 02:28

제목 : horny blonde sluts
camel toe in panties paris hilton blowjob camel toe videos...more

Tracked from at 2007/04/15 17:57

제목 : henrico county public schools
concert flasher dog breed selector flashing dares...more

Tracked from at 2007/04/17 02:57

제목 : exotic latin models
britney spears fat latinas with huge tits and ass bbw porn...more

Tracked from at 2007/04/23 03:28

제목 : female gushing mpegs
prostate massage ejaculation techniques seductive secretaries cunts squirting juice...more

Tracked from at 2007/04/27 22:48

제목 : bukakke
bikini blowjobs granny big tits hentai blowjob...more

Tracked from at 2007/04/29 21:57

제목 : grannies n fatties
big girl diaper stories latina hynas ghetto thick girls...more

Tracked from at 2007/04/30 03:13

제목 : pyrex dildos
male dildo fucking dolly parton breast dildo worship nyc...more

Tracked from at 2007/04/30 03:15

제목 : amateur xxx
amateurindex.com amature interracial amateurshomepage.com...more

Tracked from Lorazepam si.. at 2010/12/06 14:29

제목 : Lorazepam.
Lorazepam side effects. Buy lorazepam. Effect of lorazepam. Lorazepam....more

Tracked from About lexapro. at 2010/12/07 23:27

제목 : Does lexapro help with anxie..
I can't cum while on lexapro. Weight gain with lexapro. Alcohol and lexapro. Side effects of lexapro. Side affects of lexapro....more

Tracked from Buy lortab w.. at 2010/12/12 10:07

제목 : Buy cheap lortab medication ..
Buy hydrocodone vicodin lortab tramadol online. Buy lortab without prescription. Buying lortab without a prescription. Buy lortab hydrocodone. Buy lortab online no perscription. Buy lortab....more

Tracked from Difference b.. at 2010/12/12 19:02

제목 : Side effects of lexapro.
Medication lexapro. Side effects of drug lexapro. What is lexapro....more

Tracked from Buy lortab. at 2010/12/13 22:15

제목 : Buy lortab online.
Buy lortab with no prescription. Buy cheap lortab medication international 35381. Buy lortab without prescription. Buy lortab overseas. Buy lortab. Buy lortab without a prescription....more

Tracked from Buy vicodin .. at 2010/12/17 07:25

제목 : Buy vicodin es on line.
Buy vicodin without script. Buy vicodin. Buy vicodin online next day delivery. Buy vicodin without presciption. Buy vicodin now....more

Tracked from Valium. at 2010/12/17 15:24

제목 : Buying valium.
Oxycontin valium overseas pharmacy. Valium overnight. Liquid valium. Valium....more

Tracked from Buy fioricet.. at 2010/12/18 07:18

제목 : Buy fioricet.
Buy fioricet online that ships to missouri. Buy fioricet bloghoster. Buy fioricet. Buy fioricet online without a prescription....more

Tracked from Ambien cr. at 2010/12/18 09:58

제목 : Ambien online.
Generic ambien. Ambien free consultation. Ambien cr. Ambien....more

Tracked from Ephedrine hcl. at 2010/12/19 07:11

제목 : Ephedrine.
Beat ephedrine testing. Ephedrine. Ephedrine hcl. Ephedrine salt lick. Ephedrine metabadrine. Manufacturing ephedrine. Mini thins ephedrine. Ephedrine distributers china....more

Tracked from Xanax. at 2010/12/20 09:05

제목 : Xanax bars.
Generic xanax 2 mg no prescription. Xanax. Xanax effect....more

Tracked from Azithromycin.. at 2010/12/30 15:20

제목 : Azithromycin exudative phary..
Estrace azithromycin. Azithromycin....more

Tracked from Valium presc.. at 2010/12/30 16:06

제목 : Order valium no prescription.
No prescription needed for valium. Cheap valium no prescription. Online no prescription valium. Valium without prescription....more

Tracked from Prescription.. at 2010/12/31 07:10

제목 : Soma without prescription.
Soma without prescription....more

Tracked from Carisoprodol.. at 2010/12/31 15:35

제목 : Carisoprodol.
Buy carisoprodol online lowest price guarantee. Carisoprodol abuse. Carisoprodol. Pharmacy online carisoprodol description price. Carisoprodol fedex....more

Tracked from Valium toxic.. at 2011/01/01 07:02

제목 : Valium side effects.
Buy valium online. Valium. Valium overnight cheap. Valium liquid form....more

Tracked from Azithromycin. at 2011/01/02 07:51

제목 : Order azithromycin.
Azithromycin. Buy azithromycin....more

Tracked from Buy ephedrine. at 2011/01/02 23:30

제목 : Buy ephedrine hcl.
Buy ephedrine. Ephedrine to buy....more

Tracked from Carisoprodol.. at 2011/01/03 07:36

제목 : Carisoprodol.
Carisoprodol phentermine yellow. Carisoprodol soma drug test. Carisoprodol....more

Tracked from Soma prescri.. at 2011/01/03 23:38

제목 : Soma without prescription 18..
Cyclobenzaprine buy prescription soma zanaflex. Soma without prescription. Soma prescription. Prescription medication side effects for soma....more

Tracked from Oxycontin. at 2011/01/08 18:20

제목 : Oxycontin addiction.
Oxycontin addiction. Buy oxycontin. Oxycontin....more

Tracked from Buy butalbit.. at 2011/01/09 02:06

제목 : Where to buy butalbital onli..
Buy butalbital. Buy butalbital fioricet mg generic tabs. Buy butalbital weblog....more

Tracked from Oxycodone ad.. at 2011/01/11 21:42

제목 : Oxycodone.
Oxycodone addiction....more

Tracked from Buy fioricet.. at 2011/01/13 00:01

제목 : Buy fioricet.
Buy generic fioricet. Buy fioricet online archives october bloghoster. Buy fioricet. Buy fioricet online free fedex. Buy codeine drug fioricet online....more

Tracked from Buying fiori.. at 2011/01/21 08:00

제목 : Buying fioricet.
Buy fioricet with codeine online. Buy fioricet rx com. Buy fioricet. Buy fioricet cod. Pharmacy online buy fioricet....more

Tracked from Buy hydrocod.. at 2011/01/30 17:12

제목 : Hydrocodone.
Hydrocodone apap. Hydrocodone no doctor. Hydrocodone....more

Tracked from Percocet. at 2011/03/19 09:40

제목 : Percocet addiction.
Percocet addiction....more

Tracked from Oxycontin. at 2011/03/21 22:57

제목 : Oxycontin withdrawl.
Connecticut oxycontin attorneys. Oxycontin drug. Oxycontin overseas pharmacy. Oxycontin....more

Tracked from Rise against.. at 2011/03/22 05:38

제목 : Soma online sales.
Soma information. Soma. Soma to florida. Soma without prescription 180 count....more

Tracked from Buy hydrocod.. at 2011/03/29 02:04

제목 : Cold water extraction hydroc..
Effects of hydrocodone....more

Tracked from Ephedrine faq. at 2011/03/29 16:20

제목 : Ephedrine to buy.
How to make ephedrine. Ephedrine....more

Tracked from Tadalafil ph.. at 2011/03/29 20:47

제목 : Generic cialis tadalafil mg ..
Tadalafil fedex. Stamina rx tadalafil. Tadalafil. Tadalafil online....more

Tracked from Lortab 7.5-5.. at 2011/03/30 09:09

제목 : Lortab.
Lortab. Cortisone shot and lortab. Generic lortab xanax this....more

Tracked from Buy ephedrine. at 2011/03/31 00:09

제목 : Ephedrine to buy.
Buy ephedrine. Ephedrine to buy....more

Tracked from Fioricet. at 2011/03/31 09:48

제목 : Order fioricet.
Fioricet. Fioricet saturday delivery. Cheap fioricet. Fioricet safety during pregnancy....more

Tracked from Duration of .. at 2011/04/01 00:39

제목 : Diazepam.
Duration of oral diazepam. Diazepam. Diazepam used for. Diazepam link messageboard aimoo com freecat us....more

Tracked from Oxycodone ad.. at 2011/04/01 10:13

제목 : Oxycodone without a prescrip..
Oxycodone addiction. Iv oxycodone. Oxycodone....more

Tracked from Interactions.. at 2011/04/04 01:40

제목 : Elavil.
Elavil side effects. Off lable uses for elavil. Elavil. Elavil for pain. Interactions between elavil and geodone. Interactions between topamax and elavil....more

Tracked from Ativan xr. at 2011/04/04 08:43

제목 : Where do you put ativan gel.
Buy ativan fed ex no prescription. Ativan....more

Tracked from Cheapest zol.. at 2011/04/05 00:42

제목 : Zolpidem.
Zolpidem and sleepwalking. Zolpidem zolpidem tartrate. Zolpidem fedex. Cheap zolpidem. Zolpidem....more

Tracked from Adderall. at 2011/04/05 07:49

제목 : Adderall without a prescript..
Adderall san antonio. Adderall side effects. Adderall xr snort. Adderall. Adderall treating anxiety in adults. Adderall without a prescription. Adderall and kidney pain. Adderall prescription....more

Tracked from Fybromyalgia.. at 2011/04/08 15:53

제목 : Elavil.
Elavil side effects. Elavil. Half life of elavil....more

Tracked from Adipex no pr.. at 2011/04/24 11:20

제목 : Purchase adipex.
Adipex. Buy adipex online no prescription. Adipex online no prescription....more

Commented by 백선호 at 2007/03/31 04:32
선호 왔다 가요

블로그 주소 바꼈어요

zsun.icu.ac.kr/blog
Commented by 백선호 at 2007/03/31 04:32
선호 왔다 가요

블로그 주소 바꼈어요

zsun.icu.ac.kr/blog
Commented by Robert at 2007/04/06 01:15
nice
Commented by Robert at 2007/04/06 01:30
nice
Commented by Naomi at 2007/04/06 01:47
hello
Commented by Naomi at 2007/04/06 01:54
hello

:         :

:

비공개 덧글

< 이전페이지 다음페이지 >


이글루링크
-
최근 등록된 덧글
<a href=http://pacd..
by iowa state at 07/23
<a href=http://divor..
by indinana e at 07/23
<a href=http://sensa..
by smoking vi at 07/23
<a href=http://payle..
by 100 random at 07/23
<a href=http://payle..
by 100 random at 07/23
<a href=http://divor..
by definitive at 07/23
<a href=http://murph..
by smoking la at 07/23
l17d4212 <a href=http:/..
by tragically at 07/17
l17d4212 <a href=http:/..
by worth desi at 07/16
l17d4212 <a href=http:/..
by worth desi at 07/16
rss

skin by 이글루스