100% found this document useful (2 votes)
2K views16 pages

XAMPP Installation and Setup Guide

XAMPP is an easy to install package that contains Apache, MySQL, PHP and other useful programs. It allows users to easily set up a local web development environment. To install XAMPP, download the installer and let it install with default settings. This will place files in C:/xampp/ with the main directory for web files being C:/xampp/htdocs/. Once installed, use the XAMPP control panel to start Apache and MySQL. You can then access local web pages at http://localhost to test your environment.

Uploaded by

Aek Ka
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
2K views16 pages

XAMPP Installation and Setup Guide

XAMPP is an easy to install package that contains Apache, MySQL, PHP and other useful programs. It allows users to easily set up a local web development environment. To install XAMPP, download the installer and let it install with default settings. This will place files in C:/xampp/ with the main directory for web files being C:/xampp/htdocs/. Once installed, use the XAMPP control panel to start Apache and MySQL. You can then access local web pages at http://localhost to test your environment.

Uploaded by

Aek Ka
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • XAMPP Installation Overview
  • Introduction to XAMPP
  • Installing XAMPP
  • Troubleshooting Common Issues
  • XAMPP Directory Structure
  • Using XAMPP Control Panel
  • Starting Apache and MySQL Services
  • Accessing XAMPP Localhost
  • XAMPP Status and Verification
  • Working Environment Verification

XAMPP Installation

1
Introducing XAMPP

• An integration package containing a number of useful


packages that make it easy to host web sites on various
platforms.
Apache – MySQL - PHP
– WAMP or LAMP
• Allow the ease of installation and set up
• Main Page:
[Link]

2
Introducing XAMPP (cont.)
Basic packages include system, programming & server
software:
• Apache: the famous Web server
• MySQL: the widely-used, free, open source database
• PHP: the programming language
• Perl: the programming language
• ProFTPD: an FTP server
• OpenSSL: for secure sockets layer support
• PhpMyAdmin: for MySQL admin.

3
XAMPP Installation
• Download XAMPP installer and let the install begin:
– Using the installer version is the easiest way to install XAMPP.
– Use default directory for convenience

4
There can be some problems
Port 80 (Apache’s default port) can be occupied by
other programs 

[Link]
5
XAMPP Directories
• XAMPP default installation directory is c:/xampp/
• The directory of interest is “c:/xampp/htdocs/”
and it’s called the webroot (or document root)
– PHP files are put in the webroot (c:/xampp/htdocs/)
– c:/xampp/htdocs/ maps to [Link]
• For example, c:/xampp/htdocs/project/[Link] maps to
 [Link]
– If no file is specified, Apache looks for [Link]
• For example, c:/xampp/htdocs/project/ maps to 
[Link]

6
Installation complete!

7
XAMPP Control Panel

No need to tick
for running as
“service”

Apache  HTTP Server


MySQL  DBMS
FileZilla  FTP Client
Mercury  SMTP Client

8
Starting Apache & MySQL

Toggle button

9
Type [Link] or [Link]

If the server is up and running,


you will get this splash screen.
Click on English.
10
Once English is
clicked on, the
Welcome webpage is
shown for XAMPP.
11
[Link]

You’re not accessing the WWW


but rather a webpage locally hosted
on your computer, which is now
running as a web server (localhost).

12
Click on Status to
determine if everything
is working correctly.

13
What you chose to install
should be lighted green
on this chart
14
Check the “working environment”

Click on phpinfo() to check


the working environment. 15
From, Tools 
phpMyAdmin, we can
manage MySQL
16

XAMPP Installation 
1
2 
Introducing XAMPP 
• An integration package containing a number of useful 
packages that make it easy to host web sites on
3 
Introducing XAMPP (cont.) 
Basic packages include system, programming & server 
software: 
•Apache: the famous Web server
4 
XAMPP Installation 
•
Download XAMPP installer and let the install begin: 
– Using the installer version is the easiest wa
There can be some problems 
Port 80 (Apache’s default port)  can be occupied by 
other programs u0001 
5 
http://www.apachefriend
XAMPP Directories 
• XAMPP default installation directory is c:/xampp/ 
• The directory of interest is “c:/xampp/htdocs/” 
an
7 
Installation complete!
8 
XAMPP Control Panel 
No need to tick 
for running as 
“service” 
Apache u0001 HTTP Server 
MySQL u0001 DBMS 
FileZilla u0001 FTP Clien
9 
Starting Apache & MySQL 
Toggle button
If the server is up and running, 
you will get this splash screen. 
Click on English. 
Type http://localhost/ or http://127.0

You might also like