설치파일/SofrWare

window서버에 Apache2.4.57 설치-(1)

Growing DBA 2023. 4. 14. 13:39
728x90
반응형

1. Apache 설치

https://www.apachelounge.com/download/

 

Apache VS17 binaries and modules download

 

www.apachelounge.com

 

2. 원하는 경로에 압축해제

- 필자는 D:\Apache24 

 

3. 파일 수정

- 수정할 파일 경로 D:\Apache24\conf -> httpd.conf 를 메모장으로 열기

 

3-1. 수정할 내용

- 37,39번째 줄 변경 -> Apache24 설치경로

- ex)

Define SRVROOT "D:/Apache24"
ServerRoot "D:/Apache24"

 

3-2. 수정할 내용

- 252,253번째 줄 변경 -> htdocs 파일 경로로 이동 

- ex)

DocumentRoot "D:/Apache24/htdocs"
<Directory "D:/Apache24/htdocs">

 

4-1. Apache 실행 ( 첫번째 방법 )

관리자 권한으로 실행한 후 명령어 입력

1. 폴더 이동

C:\Windows\system32>D:

D:\>cd Apache24/bin

 

2. 설치 >>  httpd.exe -k install  

(아파치 삭제는  httpd.exe -k uninstall  )

 

3. >> httpd -n "Apache2.4" -t


4. >> httpd -k start

 

4-2. Apache 실행 ( 두번째 방법 )

- 해당경로로 이동 후 실행

 

- 오른쪽 하단에 아이콘 우클릭 후 Open Apache Monitor 클릭

 

-start 및 stop 가능

 

5.  Apache 실행 확인

- 인터넷 주소창에 http://localhost/ 입력하고 아래와 같이 화면이 뜨면 제대로 작동


* window서버에 php7.4.30 설치

https://gonmossi.tistory.com/116

 

window서버에 php7.4.30 설치

* window서버에 Apache2.4.57 설치 https://gonmossi.tistory.com/115 window서버에 Apache2.4.57 설치 1. Apache 설치 https://www.apachelounge.com/download/ Apache VS17 binaries and modules download www.apachelounge.com 2. 원하는 경로에 압축

gonmossi.tistory.com

 

 

 

 

 

 

 

728x90
반응형