Introduce xampp–a convenient to setup websites

Source: Internet
Author: User

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 is 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 is used to start up theservices involved in xampp.


II. "Xampp_stop.exe" in Xampp_home can is used to shutdown the services involved in XAMPP.


III. "Xampp-control.log" in Xampp_home records the XAMPP operation.


B. Apache:

I. "Bin", "conf" and "logs" is the most importantdirectories in Apache which can is found in Xampp_home\apac He. 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 the used to start HTTP services.

Iii. "Error.log" and "Access.log" record whathappened in Apache which can is found in "logs".


C. MySQL:

I. "bin" and "data" is the most importantdirectories in MySQL which can is 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-control and connect to MySQL can is 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 found Inxampp_home\php\ext. They should is 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 the 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 "/>

This article from the "Grass will be 10 early begging" blog, please be sure to keep this source http://jamesjohn.blog.51cto.com/1675378/1563128

Introduce xampp–a convenient to setup websites

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.