How to Make XAMPP Run Automatically when Windows Starts

Table of contents:

How to Make XAMPP Run Automatically when Windows Starts
How to Make XAMPP Run Automatically when Windows Starts

Video: How to Make XAMPP Run Automatically when Windows Starts

Video: How to Make XAMPP Run Automatically when Windows Starts
Video: Getting the Photo Viewer back in Windows 8 2024, November
Anonim

If you want an XAMPP module (e.g. Apache, PHP, or MySQL) to run automatically when Windows starts, you must add the XAMPP Control Panel to the Startup folder. This wikiHow teaches you how to make the XAMPP Control Panel run automatically when Windows starts, and how to choose which XAMPP module to open automatically. You can apply this method on Windows 7, 8, 8.1, and 10.

Step

Start XAMPP at Startup in Windows Step 1
Start XAMPP at Startup in Windows Step 1

Step 1. Open XAMPP Control Panel

You can find it in the root folder you used to install XAMPP, which is usually located in C:\xampp. The file is named xampp-control.exe. If you did not change the installation folder, run the application by performing the following steps:

  • Open the Run dialog by pressing Win+R.
  • Type or paste (paste) C:\xampp\xampp-control.exe into the space provided.
  • Click OK.
Start XAMPP at Startup in Windows Step 2
Start XAMPP at Startup in Windows Step 2

Step 2. Click Config

This wrench-shaped button is in the upper-right corner of the XAMPP Control Panel.

Start XAMPP at Startup in Windows Step 3
Start XAMPP at Startup in Windows Step 3

Step 3. Select the items you want to run when the computer starts up

Click the box next to the module under " Autostart of modules " to select it to run automatically. If the box is checked, it means the module will run automatically when you launch XAMPP Control Panel.

Start XAMPP at Startup in Windows Step 4
Start XAMPP at Startup in Windows Step 4

Step 4. Click Save

It's a button with a green check in the bottom-right corner.

Start XAMPP at Startup in Windows Step 5
Start XAMPP at Startup in Windows Step 5

Step 5. Open File Explorer

You can do this by right-clicking Start and selecting File Explorer. Another way is to press Win+E key if you want to use the keyboard.

Start XAMPP at Startup in Windows Step 6
Start XAMPP at Startup in Windows Step 6

Step 6. Open the xampp directory

This is usually located in C:\xampp. You can find it by expanding the menu This PC or Computer in the left pane, select drive C:, and clicking xampp. The contents of the directory will be displayed in the main panel.

Start XAMPP at Startup in Windows Step 7
Start XAMPP at Startup in Windows Step 7

Step 7. Right-click xampp-control.exe, then select Create Shortcut

A new file will appear under it with the name xampp-control.exe – Shortcut.

Keep the window open because you'll need it a little later

Start XAMPP at Startup in Windows Step 8
Start XAMPP at Startup in Windows Step 8

Step 8. Press Win+R key

The Run dialog will open.

Start XAMPP at Startup in Windows Step 9
Start XAMPP at Startup in Windows Step 9

Step 9. Type shell:startup, then click OK

The Windows Startup folder will open in a new File Explorer window.

Start XAMPP at Startup in Windows Step 10
Start XAMPP at Startup in Windows Step 10

Step 10. Drag xampp-control.exe – Shortcut into the Windows Startup folder

After adding the shortcut to the Startup folder, Windows will run XAMPP Control when the computer starts up. The module that has been selected to run will automatically be activated immediately after the XAMPP Control Panel is run.

If you want both windows to appear on your computer screen at the same time, right-click the taskbar (the long bar that's usually at the bottom of the screen), and select Show windows side by side.

Recommended: