- 윈도우 XAMPP 설치
1 다운로드[ | ]
- https://www.apachefriends.org/index.html 접속
- XAMPP for Windows 클릭하여 xampp-win32-5.6.19-0-VC11-installer.exe 다운로드 (107MB)
2 설치[ | ]
- xampp-win32-5.6.19-0-VC11-installer.exe 실행
- "Setup - XAMPP" --- [Next >]
- "Select Components" --- [Next >]
<img src='https://lh4.googleusercontent.com/ANPCJwbermqj5mVXVyXmXLxgGN-7EuWcy_aYxzqKTKCFr9n0fnXBRe9np3wjAUhEmdxgUYHCM67RveNHR_vLkK7bNwN6FwSO-3jljIWlHCncC7uXHecs-b548AilEwBlqsQ' style='width:500px'>
- Select a folder: D:\xampp[1] --- [Next >]
- Learn more about Bitnami for XAMPP [ ][2] --- [Next >]
- "Ready to Install" --- [Next >]
(설치 진행)
- (Windows 방화벽에서 이 프로그램의 일부 기능을 차단했습니다.) --- "이름(N): Apache HTTP Server" --- [액세스 허용(A)]
- "Completing the XAMPP Setup Wizard" --- [v] Do you want to start the Control Panel now? --- [Finish]
3 XAMPP 제어판 확인[ | ]
(언어 선택 창이 뜸) 미국 국기(영어)와 독일 국기(독일어)가 떠 있음
- 미국 국기 (O) --- [v Save]
XAMPP Control Panel 창이 뜸
<img src='https://make.wordpress.org/core/files/2013/03/xampp-control-panel-1.png' style='width:500px'>
4 아파치 시작[ | ]
- Apache 오른쪽 [Start] 버튼 클릭
( 하단에 아파치 시작 메시지 나옴 )
text
Copy
오후 8:48:00 [Apache] Attempting to start Apache app...
오후 8:48:00 [Apache] Status change detected: running
5 아파치 확인[ | ]
- 오른쪽 [Shell] 버튼 클릭
Console
Copy
Setting environment for using XAMPP for Windows.
zetawiki@zeta-windows d:\xampp
# netstat -an | findstr LISTEN | findstr 80
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP [::]:80 [::]:0 LISTENING
- → 80 포트를 LISTENING
- 웹브라우저에서 http://localhost/ 접속
- "XAMPP Apache + MariaDB + PHP + Perl" 메시지 확인
6 PHP 테스트[ | ]
- 탐색오른쪽 [Explorer] 버튼 클릭
- D:\xampp\htdocs 으로 이동
- hello.php 파일 작성
PHP
Copy
<?php
echo "40 + 2 = " . (40 + 2);
- 브라우저에서 http://localhost/hello.php 접속하여 아래와 같이 나오는지 확인
text
Copy
40 + 2 = 42
- → 계산된 결과 42가 나와야 함
7 같이 보기[ | ]
8 주석[ | ]
- ↑ 기본값은 C:\xampp
- ↑ 기본 체크되어 있음. 체크된 그대로 두면 다음 웹페이지가 뜸. https://bitnami.com/stack/xampp?utm_source=bitnami&utm_medium=installer&utm_campaign=XAMPP%2BInstaller
9 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
FastStone 이미지 뷰어 ― John Jeong윈도우 98 ― …윈도우 openssl 설치 ― …윈도우 TeX Live 설치 ―Pinkcrimson
윈도우 TeX Live 설치 ―Pinkcrimson
윈도우 TeX Live 설치 ―Pinkcrimson
윈도우 단축키 ― Kyeseung Kim윈도우 단축키 ― John Jeong윈도우에 SFTP 서버 구축하기 ― …