Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start Apache and MySQL automatically when Windows 8 comes up

Tags:

apache

xampp

I am using XAMPP, version 3.2.1. I just installed it on Windows 8. Every time I need to go to the XAMPP Control Panel to start services (MySQL, Apache,...); in Windows 7 it started automatically when Windows came up.

Is there a way I can make it auto-start in Windows 8 too?

like image 400
user385729 Avatar asked Jan 06 '14 22:01

user385729


People also ask

Why is Apache and MySQL not starting in XAMPP?

1. Resolve Apache Port Conflicts. If Apache cannot start, you won't be able to access your XAMPP dashboard or any sites you have installed on the platform. A port conflict may be the underlying problem.

How start XAMPP after install?

XAMPP is now installed below the /opt/lampp directory. To start XAMPP simply call this command: /opt/lampp/lampp start Starting XAMPP for Linux 1.5.


2 Answers

Go to the Config button (upper right) and select the Autostart for Apache:

Config button

Autostart modules

To start XAMPP at startup in Windows, paste a shortcut of the XAMPP control panel in this folder:

C:\Users\ USERNAME \AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

or

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

like image 41
Andres Avatar answered Sep 29 '22 14:09

Andres


Start the control panel using "Run as administrator". Then you can install Apache and MySQL as a service:

Enter image description here

like image 124
mihaita25 Avatar answered Sep 29 '22 13:09

mihaita25