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 minHour 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.

Steps

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 . If you didn’t change the installation directory, follow these steps to launch the app:

  • Press to open the Run dialog.
  • Type or paste C:xamppxampp-control.exe into the field.
  • Click OK.

Click Config.

It’s the button with a wrench at the top-right corner of the XAMPP Control Panel.

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.

Click Save.

It’s the button with a green checkmark at the bottom-right corner of the window.

Open the Windows File Explorer.

One way to do this is to right-click the Start menu and select . You could also press ⊞ Win+E to launch it with the keyboard.

Navigate to your xampp directory.

The location is typically C:xampp, and you can usually get there by expanding the or menu in the left panel, selecting the drive, and then clicking . The contents of the directory will appear in the main panel.

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.

Press ⊞ Win+R.

This opens the Run dialog.

Type shell:startup and click OK.

This opens the Windows Startup folder in a new File Explorer window.

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.

Leave a Comment