XAMPP Installation in Windows 7

Before running a php program, it is necessary to install Apache, Mysql and PHP. Based on the operating system on top of which thease three softwares are running, the server is classified. For example, apche , Mysql and PHP running in windows,linux,MAC is called as WAMP,LAMP,MAMP packages and also called as SAMPs for Solaris system and FAMPs for FreeBSD platform.

Among those packages, some of them has cross platform compatibitlity where there are appropriate installer depends on the platform. For example, XAMPP which is one of the version of WAMP package released in late 2012. This package includes the following:

  • Apache
  • MySQL
  • PHP
  • phpMyAdmin
  • FileZilla FTP Server
  • Tomcat
  • Strawberry Perl
  • XAMPP Control Panel 3.1.0


It is one of the easiest package to set up php environment for our machine with minimal number of steps. In this article we are going to see the step by step procedure of xampp installation process for windows 7.

    1. Visit the official website http://www.apachefriends.org/en/xampp-windows.html and click Installer link to download the xampp installer.
    2. After complete download, double click on the installer.exe which will take to the installation wizard.
    3. In this wizard choose your language and click ok.
    4. Specify the path of your root directory to locate your htdocs folder where you have to save your php projects and then click Next.
    5. The next window will show some options to check regarding to create short cut for xampp control and then click Install.
    6. Wait for some time, until the installation process completed.
    7. Then run xampp-control.exe from the location \xampp\.
    8. After that, start Apache,Mysql and needed server using the xampp control panel which is as shown in the following figure.
    9. For the first time, windows firewall alert will be shown. For that click ‘Allow access’ to allow server to¬†communicate¬†with the required network.

This XAMPP code tutorial was published on April 15, 2013.

↑ Back to Top