Skip to content

How To Install XAMPP For Local Server ?

In this article we will cover how to install XAMPP in your local computer/Laptop and make it live server to execute programming language who need any of Apache, MySQL, Tomcat or Mercury environment.

WHAT IS XAMPP?

XAMPP is an open source web server software package which allows a web developer to set up a local web server environment to write php scripts and perform testing. Join Our php training program and learn how to create an environment which support php programming.

The name XAMPP is an abbreviated form of the following terms:

  1. X (Cross Platform)
  2. A (Apache HTTP Server)
  3. M (MariaDB)
  4. P (Php)
  5. P (Perl)

It is a free software package available on the official website of its developer organisation Apache Friends. It can also be downloaded from other websites such as softonic, bitnami, filehorse, filehippo etc.

Since it is a cross-platform, it can work on almost all operating systems like Windows, Linux, macOS, Solaris.

CONFIGURATION REQUIREMENT FOR XAMPP (VERSION 5.6.30 OR LATER)

Windows

⏩ Free Space on Hard disk- 1 GB to 2 GB (according to the version)

⏩ RAM- 512 MB (minimum)

⏩ Platform- Windows 2008, 2012, Vista, 7, 8, 10 (above XAMPP versions are not supported in windows XP and 2003)

⏩ System Type- 32-bit operating system

Linux

⏩ Free Space on Hard disk- 2 GB to 10 GB (according to the version)

⏩ RAM- 1 GB (recommended)

⏩ Platform-  Debian, CentOS, RedHat, Fedora, Ubuntu, Gentoo, Arch, SUSE

⏩ System Type- 64-Bit operating system

macOS

⏩ Free Space on Hard disk- 2 GB to 5 GB

⏩ RAM- 1 GB (recommended)

⏩ Platform-  macOS 10.6 Snow Leopard, 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks, 10.10 Yosemite, 10.11 El Capitan, 10.12 Sierra

⏩ System Type- 64-bit operating system

INSTALLATION PROCESS OF XAMPP

1st Step: Open Apache Friends official website www.apachefriends.org/download.html to download XAMPP to your operating system(windows, linux, macOS).

php-xampp-url_download-1024x600

2nd Step: The website will provide you download options for different versions of XAMPP having different sizes as shown in the image below. Click on the download icon according to the version you want to download.

php-select_version-1

3rd Step: After clicking on download icon the download process will start as shown in the image below.

php-download_start-1024x494

4th Step: Once the software is downloaded, start the XAMPP installer. A set up wizard will appear on your screen. Click on the ‘Next’ icon.

php-setup1

5th Step: A new window will appear on your screen saying select the components you want to install. You can choose between those components according to your need.

seo-setup2

6th Step: In the next window, you have to choose a folder where you want to install the software. After selecting a folder, click on ‘Next’ icon.

seo-setup3

7th Step: The next window you will be getting is installing Bitnami for XAMPP which provide free installers to install open source components like WordPress, Drupal, Joomla etc. If you want to learn more about free installers then tick ‘Learn more about Bitnami for XAMPP’ section, otherwise you don’t need to tick it. After all this, click on ‘Next’ icon.

seo-setup4

8th Step: Your XAMPP installation set up is now ready. Click ‘Next’ to proceed further.

php-setup5

9th Step: The next window will show the installation process on your computer. It will take few minutes to install. Just sit back and relax during this period.

php-setup6
php-setup7

10th Step: The next window you will be getting is completing the XAMPP setup wizard. This window will ask Do you want to start the control panel now? Tick on this section and click ‘Finish’ icon.

php-setup8

11th Step: XAMPP control panel will get opened if everything worked well without any port errors after clicking start icon as shown in the image below.

php-setup11

12th Step: But if some port error occurred after clicking start icon, it will look like the below image with some red coloured information. This means you will have to fix the problem manually and then restart the computer.

php-setup9

This problem generally occurs when some other program restricts Apache and MySQL to run on the previously acquired ports. It can be easily fixed by making those ports free for Apache and MySQL by re-configuring it. After doing this, restart XAMPP and click on the start icon for both Apache and My SQL. Everything will now work perfectly.

13th Step: If you want to check whether your XAMPP local web server is installed correctly or not. You can go to the http://localhost and can check your current status.

php-localhost
Facebook
Twitter
LinkedIn
Pinterest