RadarURL
Skip to content
조회 수 5417 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
Windows 에 Apache+MySQL+PHP 를 한번에 설치해주는 여러 프로그램이 있지만, 여기에서는 각각 직접 다운로드 받아서 설치하는 것을 보도록 하겠다. 그리 어렵지 않으며, 기본을 알고 이용하는 것이 더 이해에 더 도움이 되기 때문이다.

설치순서

  1. MySQL
  2. Apache
  3. PHP

MySQL

  1. http://www.mysql.com/downloads/mysql/에서 추천하는 현재 버전의 MySQL Community Server 를 다운로드 받는다.
  2. 다운로드 받은 파일은 대략 mysql-essential-5.1.50-win32.msi 과 비슷한 이름일 것이다.
  3. 이 파일을 실행하고, Typical 을 선택하여 설치를 진행한다.
  4. 설치 완료후, Configure the MySQL Server now 에 체크를 하고 종료하면, 설정을 진행할 것이다.
  5. Configuration Type 에서는 Detailed Configuration 을 선택한다.
  6. Server Type 에서는 Developer Machine 을 선택한다. (Windows 에서는 보통 개발용으로 설치하므로)
  7. Database Usage 에서는 Multifunctional Database 를 선택한다.
  8. The approximate number of concurrent connections to the server 에서는 Online Transaction Processing (OLTP)를 선택한다.
  9. Enable TCP/IP Networking 에 체크한다.
  10. Port Number 는 3306 으로 그대로 둔다.
  11. Enable Strict Mode 에 체크한다.
  12. Default Character Set 에서 Best Support for Multiingualism (UTF-8) 을 선택한다.
  13. Install As Windows Service 를 체크한다.
  14. Include Bin Directory in Windows PATH 를 체크한다.
  15. root 비밀번호를 자신이 원하는 것으로 설정한다.
  16. 설치가 완료되었으면, 커맨드창을 띄워서, mysql -u root -p 를 입력하고, 비밀번호를 입력하여 정상 로그인되면 끝난 것이다.

Apache

  1. http://httpd.apache.org/download.cgi 에서 최신버전의 Apache 를 다운로드 받는다.
  2. 다운로드 받은 파일은 아마도 httpd-2.2.16-win32-x86-openssl-0.9.8o.msi 이런 이름과 비슷할 것이다.
  3. Network domain : localhost, Server Name : localhost, Administrator's E-mail Address : test@localhost 로 입력한다.
  4. Setup Type 은 Typical 을 선택한다.
  5. 설치가 완료되었으면, 웹브라우저에서 http://localhost/ 를 입력해서 It works! 메시지가 나오면 정상 동작하는 것이다.

PHP

  1. http://windows.php.net/download/에서 최신버전의 PHP를 다운로드 받는다. 한가지 주의할 것은 VC6 x86 Thread Safe 를 다운로드 해야 한다는 것이다. 이 것 말고, VC9 로 컴파일 된 것이 있는데 이는 IIS연동을 위한 것이다. Apache 와 연동하기 위해서는 VC6으로 컴파일 한 것을 사용해야 한다.
  2. 다운로드 받은 파일은 대략 php-5.3.3-Win32-VC6-x86.msi 과 비슷한 이름일 것이다.
  3. Select the Web Server you wish to setup 에서 Apache 2.2.x Module 을 선택한다.
  4. Apache Configuration Directory 에서는 Apache가 설치된 디렉토리의 conf 디렉토리를 선택한다. 디폴트 디렉토리로 설치했다면, C:Program FilesApache Software FoundationApache2.2conf 가 될 것이다.
  5. Choose Items to Install 에서는 아래 것들을 추가 선택한다.
    • Register *.php files to open automatically with PHP
    • Internationalization
    • Multi-Byte String
    • XSL
    • PEAR Install
    • PHP Manual
  6. 설치가 완료된 후에, C:Program FilesApache Software FoundationApache2.2htdocs 에 phpinfo.php 를 만들어서 아래와 같이 내용을 입력한다.
    <?php
    phpinfo();
    ?>
  7. 마지막으로 웹브라우저에서 http://localhost/phpinfo.php 를 입력하여 PHP 설치정보가 나오면 완료된 것이다.

 

출처 : http://gauryan.blogspot.com/2010/08/wamp-windowsapachemysqlphp.html

?

  1. No Image 02May
    by JAESOO
    2016/05/02 by JAESOO
    Views 270 

    아파치 httpd.conf 재시작 없이 설정 적용하기

  2. No Image 01Jan
    by JAESOO
    2016/01/01 by JAESOO
    Views 338 

    톰캣 8 소개

  3. No Image 22Dec
    by JAESOO
    2014/12/22 by JAESOO
    Views 544 

    리눅스 아파치 로그 뷰어 webalizer, utf-8로 변환하기

  4. No Image 22Dec
    by JAESOO
    2014/12/22 by JAESOO
    Views 803 

    Webalizer Configuration – Configure Webalizer for SEO

  5. No Image 22Dec
    by JAESOO
    2014/12/22 by JAESOO
    Views 440 

    Webalizer, AWStats에서 국가 정보 확인하기

  6. No Image 22Dec
    by JAESOO
    2014/12/22 by JAESOO
    Views 777 

    Webalizer에서 국가별 로그 출력하기

  7. No Image 22Dec
    by JAESOO
    2014/12/22 by JAESOO
    Views 1236 

    Apache: A good Webalizer.conf for the Webalizer Apache Log Analyzer utility

  8. No Image 21Dec
    by JAESOO
    2014/12/21 by JAESOO
    Views 481 

    아파치 로그분석 webalizer 설치

  9. No Image 19Dec
    by JAESOO
    2014/12/19 by JAESOO
    Views 743 

    Permission denied: .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

  10. Permission denied: /home/.htaccess pcfg_openfile: unable to check htaccess file

  11. No Image 19Dec
    by JAESOO
    2014/12/19 by JAESOO
    Views 521 

    pcfg_openfile: unable to check htaccess file, ensure it is readable

  12. No Image 04Jun
    by JAESOO
    2014/06/04 by JAESOO
    Views 2272 

    Tomcat 버전별 설명

  13. No Image 28May
    by JAESOO
    2014/05/28 by JAESOO
    Views 1510 

    Apache 실행환경을 nobody 사용자로 변경

  14. No Image 27May
    by JAESOO
    2014/05/27 by JAESOO
    Views 1872 

    리눅스 사용자 계정별 웹서버 운영하기

  15. No Image 26May
    by JAESOO
    2014/05/26 by JAESOO
    Views 1692 

    Apache 서버에서 확장자 .htm 파일 내의 php 코드가 실행되지 않는 문제 해결 방법

  16. No Image 16May
    by JAESOO
    2014/05/16 by JAESOO
    Views 1826 

    php 웹사이트에서 파일을 업로드 하는중 100%에서 멈춰버리는 현상 해결

  17. No Image 09May
    by JAESOO
    2014/05/09 by JAESOO
    Views 2166 

    Apache Struts 버전 확인 방법

  18. No Image 11Apr
    by JaeSoo
    2014/04/11 by JaeSoo
    Views 1752 

    robots.txt를 현명하게 사용하는 방법

  19. No Image 11Apr
    by JaeSoo
    2014/04/11 by JaeSoo
    Views 1759 

    robots.txt 파일(로봇배제 표준)

  20. No Image 18Apr
    by JaeSoo
    2013/04/18 by JaeSoo
    Views 4211 

    Windows / apache_2.4.3 + php_5.4.10 + mod_fcgid_2.3.7

Board Pagination Prev 1 2 3 4 Next
/ 4

PageViews   Today : 509 Yesterday : 12383 Total : 21968944  /  Counter Status   Today : 478 Yesterday : 11957 Total : 1195158

Edited by JAESOO

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소