How to Start XAMPP at Startup in Windows

If you want your XAMPP modules (e.g., Apache, PHP, and MySQL) to launch automatically with Windows, you'll need to add the XAMPP Control Panel to your Startup folder. This How.com.vn teaches you how to make the XAMPP Control Panel start automatically when you boot Windows, and how to select which XAMPP modules open automatically. You can use this method in Windows 10, 8.1, 8, and 7.

  1. How.com.vn English: Step 1 Open the XAMPP Control Panel.
    It's in the root of the folder in which you installed XAMPP, which is usually C:\xampp. The file itself is called xampp-control.exe. If you didn't change the installation directory, follow these steps to launch the app:
    • Press Win+R to open the Run dialog.
    • Type or paste C:\xampp\xampp-control.exe into the field.
    • Click OK.
  2. How.com.vn English: Step 2 Click Config.
    It's the button with a wrench at the top-right corner of the XAMPP Control Panel.[1]
    Advertisement
  3. How.com.vn English: Step 3 Select items to launch at startup.
    Click the box next to any of the modules in the "Autostart of modules" area to select it for automatic startup. If a box contains a checkmark, it means the module will start when you launch the XAMPP Control Panel.
  4. How.com.vn English: Step 4 Click Save.
    It's the button with a green checkmark at the bottom-right corner of the window.
  5. How.com.vn English: Step 5 Open the Windows File Explorer.
    One way to do this is to right-click the Start menu and select File Explorer. You could also press Win+E to launch it with the keyboard.
  6. How.com.vn English: Step 6 Navigate to your xampp directory.
    The location is typically C:\xampp, and you can usually get there by expanding the This PC or Computer menu in the left panel, selecting the C: drive, and then clicking xampp. The contents of the directory will appear in the main panel.
  7. How.com.vn English: Step 7 Right-click xampp-control.exe and select Create Shortcut.
    A new file will appear just below called xampp-control.exe – Shortcut.
    • Just leave this window open for now, as you'll need it in a few moments.
  8. How.com.vn English: Step 8 Press ⊞ Win+R.
    This opens the Run dialog.
  9. How.com.vn English: Step 9 Type shell:startup and click OK.
    This opens the Windows Startup folder in a new File Explorer window.[2]
  10. How.com.vn English: Step 10 Drag xampp-control.exe – Shortcut to the Windows Startup folder.
    Once you've added the shortcut to the Startup folder, Windows will know to open the XAMPP Control when the PC boots. The modules you selected to run automatically will activate as soon as the XAMPP Control Panel starts.
    • If you can't see both windows on the screen at once, you can right-click the taskbar (the bar that usually runs along the bottom of the screen) and select Show windows side by side.
  11. Advertisement

Community Q&A

Search
Add New Question
  • Question
    I stopped Apache and MySQL in Aampp and shut down my PC, then the problem that arises is that when I start my PC again, I cannot find my Xampp server. Where to find it?
    How.com.vn English: Dharashah
    Dharashah
    Community Answer
    Xampp server can be found in the Xampp folder where you have installed it. Start the xampp-control.exe and this will let you start the Apache and MySQL servers.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 296,996 times.
      How helpful is this?
      Co-authors: 8
      Updated: March 31, 2024
      Views: 296,996
      Categories: Programming | Windows
      Article SummaryX

      1. Open the XAMPP Control Panel.
      2. Click Config.
      3. Select modules and click Save.
      4. Open File Explorer to C:\xampp.
      5. Right-click xampp-control.exe and select Create Shortcut.
      6. Press Windows Key + R.
      7. Type shell:startup and click OK.
      8. Drag the shortcut from C:\xampp to the Startup folder.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 296,996 times.

      Reader Success Stories

      • How.com.vn English: Anteneh Petros

        Anteneh Petros

        Nov 7, 2017

        "It is an easy and short way of explaining. Thanks."
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement