XAMPP is complete package of PHP development environment, it’s easy to install and it’s Apache distribution containing MariaDB, PHP, and Perl.
XAMPP is open source, so you don’t have to pay anything, Just Download and install.
So, Let’s Get Start
STEP 1:
Download XAMPP stable version (for now it’s 7.3)
STEP 2:
Double click on downloaded installer to start installation
STEP 3:
Click ‘OK’ on warning
STEP 4:
NEXT
STEP 5:
Here you can check what you are going to install in this XAMPP package. there are three major components of XAMPP which you should know
Major Software components of XAMPP:
- Apache
Apache is a web server which handle HTTP request. It is maintained by Apache Software Foundation - MySQL
Database managed by MySQL in XAMPP, this is one of the most popular DMS and it is open-source. - PHP
PHP is the server-side scripting language which stand for Hypertext Pre-processor. PHP work well with MySQL. SQL stand for “Structured Query Language”
STEP 6:
Here you can select the drive and folder where you want to install XAMPP, this is not necessary to install in ‘C:/’ drive.
Most of the user install XAMPP in C:/ drive, but I would like to suggest any other drive to install XAMPP, because generally window installed in C:/ drive, so if your system would crash and you need to format your window so your XAMPP work will destroy.
STEP 7:
Here you can change XAMPP name to anything which you want. (Watch Complete video)
STEP 8:
You can select language here.
STEP 9:
You can uncheck this if you don’t want to read
STEP 10:
NEXT
STEP 11:
Click on NEXT, and your installation will start.
STEP 12:
Go to your folder where XAMPP is installed, whatever drive you selected in ‘STEP 6’.
Scroll down to bottom and find ‘xampp-control’, double click on this and you will get a xampp-controller window.
STEP 13:
Here you can see there is five modules installed with XAMPP package:
Apache – web server
MySQL – Database management system
FileZilla– For FTP
Mercury – Local mail server
Tomcat – For JAVA technology
For PHP you have to focus only on two Apache & MySQL. There are start and stop button of every module so just start Apache and MySQL.
Minimize the XAMPP control window. You PHP Environment is ready, now you can start working on PHP.
========
Start your first PHP code:
Go to XAMPP -> htdocs
This is the folder where all your PHP file will reside, you can create multiple folders as per your requirement.
Watch Complete video for installation and first PHP code execution.