Lecturer : 이선아 ([email protected])
APM Apache PHP MySQL
http://www.apache.org/
Click here(HTTP Server)
Click hereFor download
Click hereApache “window”
version
StartStop
Restart
Enter URL:http://localhost/
http://IP address of your computer
http://httpd.apache.org/docs/2.2/
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>
http://www.mysql.com/
Click here
Click here
Click here
Fill formlike this
Click HTTP
시작 (Start) > 제어판 (Control Panel) > 관리도구(Administration Tools) > 서비스 (Service)
StartStop
Restart
1. Select MySQL2. Click left
button on mouse
3. Click Property
As default, MySQL service automatically start when boot-up
Change starting pattern
http://www.php.net/
Click this
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();
?>
The result is like this