码迷,mamicode.com
首页 > Web开发 > 详细

Introduce XAMPP – a convenient way to setup websites

时间:2014-10-13 14:57:50      阅读:369      评论:0      收藏:0      [点我收藏+]

标签:xmapp apche php mysql

1.     What is XAMPP?

XAMPP is a completely free, easy to install Apache distributioncontaining MySQL, PHP, and Perl.

a.      X – Operation System (Windows/Linux/Apple OS)

b.     A – Apache

c.      M – MySQL

d.     P – PHP

e.     P – Peal

 

2.     Download:

https://www.apachefriends.org/index.html

 

3.     Basic Configure:

After successfully set up, software involved in XAMPP can be found atXAMPP_HOME which assigned in the setting up process.

a.     XAMPP:

bubuko.com,布布扣

i.     Either“xampp-control.exe” or “xampp_start.exe” in XAMPP_HOME can be used to start up theservices involved in XAMPP.


ii.     “xampp_stop.exe”in XAMPP_HOME can be used to shutdown the services involved in XAMPP.


iii.     “xampp-control.log”in XAMPP_HOME records the history of XAMPP operation.


b.     Apache:

i.     “bin”, “conf” and “logs” are the most importantdirectories in apache which can be found in XAMPP_HOME\apache. bubuko.com,布布扣i.     “httpd.conf” in “conf” is the configuration ofapache.

ii.      “httpd.exe”in “bin” is used to start up http services.

iii.     “error.log” and “access.log” record whathappened in apache which can be found in “logs”.


c.      MySQL:

i.     “bin” and “data” are the most importantdirectories in mysql which can be found in XAMPP_HOME\mysql.

bubuko.com,布布扣

i.     “my.ini” in “bin” is the default MySQL configuration.Also, all the tools used to control and connect to MySQL can be found in “bin”

ii.     “mysql_error.log” and MySQL binary logs arelocated in “data” by default.


d.     PHP:

i.     “php.ini” is the configuration of PHP which canbe found in XAMPP_HOME\php.

bubuko.com,布布扣


ii.     All the extensions can be found inXAMPP_HOME\php\ext. They should be configured in php.ini before being used.

bubuko.com,布布扣


4.     Example:

a.      Configure all the files if needed. (Defaultconfigurations work)

b.     Start up services of apache, mysql with XAMPPControl Panel.

bubuko.com,布布扣


c.      Open a browser and visit “http://localhost/”.The web page should be as follows if it works,

bubuko.com,布布扣

本文出自 “草将十早乞” 博客,请务必保留此出处http://jamesjohn.blog.51cto.com/1675378/1563128

Introduce XAMPP – a convenient way to setup websites

标签:xmapp apche php mysql

原文地址:http://jamesjohn.blog.51cto.com/1675378/1563128

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!