XAMPP Start automatically on Windows 7 startup
Solution 1
Try to run Your XAMPP Control Panel as Run as administrator
, then install Apache and MySQL.
When XAMPP opens, ensure that Apache and MySQL services are stopped.
Now just check/tick on Apache and Mysql service module.
Now Apache and MySQL will be added to window services. You can set these services to start when Windows boots.
Solution 2
Try following Steps for Apache
- Go to your XAMPP installation folder. Right-click xampp-control.exe. Click "Run as administrator"
- Stop Apache service action port
- Tick this (in snapshot) check box. It will ask if you want to install as service. Click "Yes".
Go to Windows Services by typing Window + R, then typing
services.msc
Enter a new service name as
Apache2
(or similar)- Set it as automatic, if you want it to run as startup.
Repeat the steps for the MySQL service
Solution 3
In addition to MR Chandru"s answer above, do these steps after configuring XAMPP:
- open the directory where XAMPP is installed. By default it's installed at
C:\xampp
- Create Shortcut to the file
xampp-control.exe
, the XAMPP Control Panel - Paste it in
C:\Users\User-Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
or
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
The XAMPP Control Panel should now auto-start whenever you reboot Windows.
Solution 4
I just placed a short-cut to the XAMPP control panel in my startup folder. That works just fine on Window 7. Start -> All Programs -> Startup. There is also an option to start XAMPP control panel minimized, that is very useful for getting a clean unobstructed view of your desktop at start-up.**
Related videos on Youtube
Comments
-
vignesh pbs almost 2 years
XAMPP Version 3.2.1 installed on Windows 7. It didn't get started automatically on Windows boot.
Tried: looking in
service
, it shows neither Apache nor MySQL. -
vignesh pbs over 10 yearsin services.msc, it doesn't show neither apache nor mysql
-
TommyDo about 10 yearsIf that, you should check your installation. Did you check on the checkbox for Apache and MySQL. You should install xampp by default settings. If the errors are still on, you should take the picture. I will see and check for you or use the teamviewer (Destop Remote). XAMPP running on any window version is normal.
-
Michael Trouw over 8 yearsThis oly indicates the autostart of the modules when the control panel is started, not when Winblows boots.
-
HeyHeyJC over 8 yearsNot relevant to the question.
-
HeyHeyJC over 8 yearsAlso the shortcut should be "Run as Administrator".
-
Bob Ray almost 8 yearsNote that In order to register them as services, you need to stop them first if they are already running.
-
SherylHohman about 5 yearsTo "Run as administrator", go to your XAMPP installation folder. Right-click
xampp-control.exe
. Click "Run as administrator". -
Lion over 4 yearsNotice that this only works on full installations. The light and portible versions will gray out the service checkbox: stackoverflow.com/a/20195005/3276634