Introduce XAMPP – a convenient way to setup websites

來源:互聯網
上載者:User

標籤: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:

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4C/50/wKioL1Q7QVPii3PfAAShbcMTeNA136.jpg" title="directory.PNG" alt="wKioL1Q7QVPii3PfAAShbcMTeNA136.jpg" />

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. 650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4C/50/wKioL1Q7Qe_DCGeFAAMmgn1huPc606.jpg" title="apache.PNG" alt="wKioL1Q7Qe_DCGeFAAMmgn1huPc606.jpg" />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.

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4C/51/wKioL1Q7ULHz5MIVAANVDjbZhd4396.jpg" title="mysql.PNG" alt="wKioL1Q7ULHz5MIVAANVDjbZhd4396.jpg" />

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.

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4C/50/wKiom1Q7UQ2jf4CsAARIm5wEMi4577.jpg" title="php.PNG" alt="wKiom1Q7UQ2jf4CsAARIm5wEMi4577.jpg" />


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

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4C/51/wKioL1Q7Ua6Sx5l4AANuRLJwiEQ366.jpg" title="php_ext.PNG" alt="wKioL1Q7Ua6Sx5l4AANuRLJwiEQ366.jpg" />


4.     Example:

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

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

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4C/50/wKiom1Q7UaiRX7rbAAO07zh0nxo048.jpg" title="control_panel_start.PNG" alt="wKiom1Q7UaiRX7rbAAO07zh0nxo048.jpg" />


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

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4C/51/wKioL1Q7UhngkNOUAAHbBylugS4181.jpg" title="localhost.PNG" alt="wKioL1Q7UhngkNOUAAHbBylugS4181.jpg" />

本文出自 “草將十早乞” 部落格,請務必保留此出處http://jamesjohn.blog.51cto.com/1675378/1563128

Introduce XAMPP – a convenient way to setup websites

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.