52
Lecturer : 이이이 ([email protected])

Lecturer : 이선아 ([email protected]). APM Apache PHP MySQL

Embed Size (px)

Citation preview

Page 1: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Lecturer : 이선아 ([email protected])

Page 2: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

APM Apache PHP MySQL

Page 3: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

http://www.apache.org/

Click here(HTTP Server)

Page 4: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Click hereFor download

Page 5: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Click hereApache “window”

version

Page 6: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 7: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 8: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 9: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 10: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 11: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 12: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 13: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 14: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

StartStop

Restart

Page 15: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Enter URL:http://localhost/

http://IP address of your computer

Page 16: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

http://httpd.apache.org/docs/2.2/

Page 17: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

If you installed Apache as default setting Your HTML page should be in “C:\Program Files\

Apache Software Foundation\Apache2.2\htdocs” Open “index.html” Edit like this and save

<html>

<head><title> Welcome! </title></head>

<body><h1> Hello. This is my web page. </h1></body>

</html>

Page 18: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

http://www.mysql.com/

Click here

Page 19: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Click here

Page 20: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Click here

Page 21: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 22: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 23: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Fill formlike this

Page 24: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Click HTTP

Page 25: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 26: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 27: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 28: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 29: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 30: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 31: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 32: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 33: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 34: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 35: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 36: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 37: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

시작 (Start) > 제어판 (Control Panel) > 관리도구(Administration Tools) > 서비스 (Service)

StartStop

Restart

1. Select MySQL2. Click left

button on mouse

3. Click Property

Page 38: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

As default, MySQL service automatically start when boot-up

Change starting pattern

Page 39: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

http://www.php.net/

Page 40: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 41: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 42: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 43: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 44: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 45: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 46: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 47: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Click this

Page 48: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 49: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 50: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL
Page 51: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

Copy “C:\Program Files\PHP\ php5ts.dll” to “C:\WINDOWS\system32\”

Test Create “test.php” file in “C:\Program Files\

Apache Software Foundation\Apache2.2\htdocs”

The File content is

Request http://localhost/test.php on your browser

<?phpphpinfo();

?>

Page 52: Lecturer : 이선아 (saleese@kaist.ac.kr).  APM  Apache  PHP  MySQL

The result is like this