• 26,769
  • +1,026
  • 3,010
How to Install XAMPP in 7 Simple Steps

How to Install XAMPP in 7 Simple Steps

Bookmark

How to install XAMPP in 7 simple steps, is just a simple tips and trick how to install the XAMPP for the beginner who just learning about php, mysql and apache.

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use – just download, extract and start.

We can download XAMPP from http://www.apachefriends.org/en/xampp.html.

Step by step how to install xampp in 5 steps:

1. Double click the installer, choose your language to use for the installation process and click OK.

How to Install XAMPP in 7 Simple Steps

2. Click Next to continue to the next step.

How to Install XAMPP in 7 Simple Steps

3. In this step, you can choose where to put XAMPP installation directory. The default directory is in C:\XAMPP, but you can choose another location that suitable for you. Click next after finished.

How to Install XAMPP in 7 Simple Steps

4. In this step, by default the XAMPP will install a desktop icon and create a link in your start menu, but you can disable this if you want, but my reccomendation is you don't need to change this.

In this step also there is SERVICE SECTION, this option will be used if you want your apache, mysql, or filezilla automatically run in startup. If you want some of the service run on start up, you can tick it. In the picture below I didn't tick it, because I will run manually everytime I need the service. When finish, click next and start the installation.

How to Install XAMPP in 7 Simple Steps

5. When the installation progress finished, if there is a window ask "Start the XAMPP control panel now?", just click YES.

How to Install XAMPP in 7 Simple Steps

6. This is the last step of the installation, the XAMPP control panel window. In this window you can view the Apache server state and MySQL server state. To start the service, just click the start button and the service will be started. (you can try to start the Apache and MySQL).

How to Install XAMPP in 7 Simple Steps

7. To check whether everything already running good, open your browser and type http://localhost/phpmyadmin. If the following page was opened, congratulations your XAMPP installation successfull.

How to Install XAMPP in 7 Simple Steps

Conclusions:

1. If Apache service cannot started, make sure your computer port 80 is free and not in use. To check whether port 80 used or not, you can try run netstat -an from your command prompt.

Hope you found it useful 🙂

Share this article if you found this post was useful:

Blogger at hacking-tutorial.com. Love PHP, offensive security and web. Contact him at me[-at-]vishnuvalentino.com

See all posts by || Visit Website : http://www.vishnuvalentino.com

  • karthik

    It shows an error message like this i’m using win8 operating system

    3:48:42 PM [Apache] Attempting to start Apache app…
    3:48:43 PM [Apache] Status change detected: running
    3:48:43 PM [Apache] Status change detected: stopped
    3:48:43 PM [Apache] Error: Apache shutdown unexpectedly.
    3:48:43 PM [Apache] This may be due to a blocked port, missing dependencies,
    3:48:43 PM [Apache] improper privileges, a crash, or a shutdown by another method.
    3:48:43 PM [Apache] Press the Logs button to view error logs and check
    3:48:43 PM [Apache] the Windows Event Viewer for more clues
    3:48:43 PM [Apache] If you need more help, copy and post this
    3:48:43 PM [Apache] entire log window on the forums

    • v4L

      #karthik

      try run netstat -an command and check whether port 80 was used. If port 80 was already used, xampp cannot run and you need to stop the program that using port 80. usually the program like skype they use port 80.

    • khaled

      When you try to run wamp or xamp make sure you’ve already closed skype because wamp and xamp both of them using port (80) so close skype and run wamp then open skype if you want..skype immediately will choose another port

  • Fayers

    I was just wondering why my Localhost page looks different to the norm and has no login section but instead boots up straight away with an error message…” Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user ‘root'”???

    • v4L

      #Fayers
      you need to set up your default mysql root (which is no password).
      type localhost on your browser and click “security” tab, you can add the password from there.

  • i have downloaded xampp but cannot start apache …

    01:51:56 [main] Initializing Control Panel

    01:51:56 [main] Windows Version: Windows 7 Ultimate 64-bit

    01:51:56 [main] XAMPP Version: 5.6.3

    01:51:56 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]

    01:51:56 [main] You are not running with administrator rights! This will work for

    01:51:56 [main] most application stuff but whenever you do something with services

    01:51:56 [main] there will be a security dialogue or things will break! So think

    01:51:56 [main] about running this application with administrator rights!

    01:51:56 [main] XAMPP Installation Directory: “c:xampp”

    01:51:56 [main] Checking for prerequisites

    01:52:02 [main] All prerequisites found

    01:52:02 [main] Initializing Modules

    01:52:02 [Apache] Problem detected!

    01:52:02 [Apache] Port 80 in use by “C:Program Files (x86)SkypePhoneSkype.exe” with PID 1644!

    01:52:02 [Apache] Apache WILL NOT start without the configured ports free!

    01:52:02 [Apache] You need to uninstall/disable/reconfigure the blocking application

    01:52:02 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

    01:52:02 [Apache] Problem detected!

    01:52:02 [Apache] Port 443 in use by “C:Program Files (x86)SkypePhoneSkype.exe” with PID 1644!

    01:52:02 [Apache] Apache WILL NOT start without the configured ports free!

    01:52:02 [Apache] You need to uninstall/disable/reconfigure the blocking application

    01:52:02 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

    01:52:02 [main] Starting Check-Timer

    01:52:02 [main] Control Panel Ready

    01:52:30 [Apache] Problem detected!

    01:52:30 [Apache] Port 80 in use by “C:Program Files (x86)SkypePhoneSkype.exe” with PID 1644!

    01:52:30 [Apache] Apache WILL NOT start without the configured ports free!

    01:52:30 [Apache] You need to uninstall/disable/reconfigure the blocking application

    01:52:30 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

    01:52:30 [Apache] Problem detected!

    01:52:30 [Apache] Port 443 in use by “C:Program Files (x86)SkypePhoneSkype.exe” with PID 1644!

    01:52:30 [Apache] Apache WILL NOT start without the configured ports free!

    01:52:30 [Apache] You need to uninstall/disable/reconfigure the blocking application

    01:52:30 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

    01:52:30 [Apache] Attempting to start Apache app…

    01:52:30 [Apache] Status change detected: running

    01:52:32 [Apache] Status change detected: stopped

    01:52:32 [Apache] Error: Apache shutdown unexpectedly.

    01:52:32 [Apache] This may be due to a blocked port, missing dependencies,

    01:52:32 [Apache] improper privileges, a crash, or a shutdown by another method.

    01:52:32 [Apache] Press the Logs button to view error logs and check

    01:52:32 [Apache] the Windows Event Viewer for more clues

    01:52:32 [Apache] If you need more help, copy and post this

    01:52:32 [Apache] entire log window on the forums

    01:52:49 [Apache] Problem detected!

    01:52:49 [Apache] Port 80 in use by “C:Program Files (x86)SkypePhoneSkype.exe” with PID 1644!

    01:52:49 [Apache] Apache WILL NOT start without the configured ports free!

    01:52:49 [Apache] You need to uninstall/disable/reconfigure the blocking application

    01:52:49 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

    01:52:49 [Apache] Problem detected!

    01:52:49 [Apache] Port 443 in use by “C:Program Files (x86)SkypePhoneSkype.exe” with PID 1644!

    01:52:49 [Apache] Apache WILL NOT start without the configured ports free!

    01:52:49 [Apache] You need to uninstall/disable/reconfigure the blocking application

    01:52:49 [Apache] or reconfigure Apache and the Control Panel to listen on a different port

    01:52:49 [Apache] Attempting to start Apache app…

    01:52:49 [Apache] Status change detected: running

    01:52:50 [Apache] Status change detected: stopped

    01:52:50 [Apache] Error: Apache shutdown unexpectedly.

    01:52:50 [Apache] This may be due to a blocked port, missing dependencies,

    01:52:50 [Apache] improper privileges, a crash, or a shutdown by another method.

    01:52:50 [Apache] Press the Logs button to view error logs and check

    01:52:50 [Apache] the Windows Event Viewer for more clues

    01:52:50 [Apache] If you need more help, copy and post this

    01:52:50 [Apache] entire log window on the forums

    01:52:56 [mysql] Attempting to start MySQL app…

    01:52:56 [mysql] Status change detected: running