Step by Step for install and configure setup Apache web server using XAMPP on Windows

Step-by-step

  1. Download XAMPP for Windows. Browse to www.apachefriends.org/en/xampp.html and click XAMPP for Windows.
    XAMPP for Windows
  2. Scroll down to Download section, there are 3 formats which you can choose to download. In this example, I select ZIP format.
    Download XAMPP
  3. Unzip the file into the folder of your choice. If you extract XAMPP in a top level folder like “C:\” or “D:\”, you can skip to step 5. Otherwise, you have to run “setup_xampp.bat” in \xampp folder. In this example, I extract to C:\ so I can skip to step 5.
    Unzip XAMPP
  4. Here is the screenshot of the execution of file setup_xampp.bat.
    setup_xampp.bat
  5. Open XAMPP Control Panel by right-click on xampp-control.exe and select Run as administrator.
    Note: If you’re using Windows XP, you just double-click on the file.
    Open XAMPP Control Panel
  6. On XAMPP Control Panel Application, select Svc checkbox of Apache and click OK. This will install Apache as a service on this computer.
    Install Apache as service
  7. Click Start to start Apache web server.
    Start Apache
  8. Repeat step 6-7 on MySQL. Now Apache and MySQL are installed as Windows services and already started.
    Apache and MySQL services started
  9. You can check if the services are really installed on the computer by click SCM.
    Open Windows Services
  10. On Services, you will see Apache and MySQL services are started and startup type are set to Automatic which means that services will be started automatically when the computer starts.
    Windows Services
  11. Now it’s time to test, browse to “http://localhost” or “http://127.0.0.1″. You will see the screen as below. This is XAMPP’s splash screen, select English language.
    XAMPP Splash Screen
  12. Here is the XAMPP’s main page. You can view other pages using navigation menu on the left side. For example, XAMPP’s status to see which components are running, security page to view current security configuration of the XAMPP installation, etc.
    XAMPP's Main Page
  13. The main directory for all WWW documents is \xampp\htdocs. If you put a file “test.html” in this directory, you can access it with the URI “http://localhost/test.html”.
  14. You can manage MySQL using phpMyAdmin by browse to “http://localhost/phpmyadmin” or you can select phpMyAdmin link on the XAMPP’s main page (in Tools section).
    Note: By default, the root’s password is empty (blank password).

more details click

0 comments:

Post a Comment