XAMPP Start automatically on Windows 7 startup

107,210

Solution 1

Try to run Your XAMPP Control Panel as Run as administrator, then install Apache and MySQL.

enter image description here

When XAMPP opens, ensure that Apache and MySQL services are stopped.

enter image description here

Now just check/tick on Apache and Mysql service module.

enter image description here

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

enter image description here

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

Share:
107,210

Related videos on Youtube

vignesh pbs
Author by

vignesh pbs

Development Team Lead at Vsocialize pvt ltd....

Updated on July 15, 2022

Comments

  • vignesh pbs
    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
    vignesh pbs over 10 years
    in services.msc, it doesn't show neither apache nor mysql
  • TommyDo
    TommyDo about 10 years
    If 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
    Michael Trouw over 8 years
    This oly indicates the autostart of the modules when the control panel is started, not when Winblows boots.
  • HeyHeyJC
    HeyHeyJC over 8 years
    Not relevant to the question.
  • HeyHeyJC
    HeyHeyJC over 8 years
    Also the shortcut should be "Run as Administrator".
  • Bob Ray
    Bob Ray almost 8 years
    Note that In order to register them as services, you need to stop them first if they are already running.
  • SherylHohman
    SherylHohman about 5 years
    To "Run as administrator", go to your XAMPP installation folder. Right-click xampp-control.exe. Click "Run as administrator".
  • Lion
    Lion over 4 years
    Notice that this only works on full installations. The light and portible versions will gray out the service checkbox: stackoverflow.com/a/20195005/3276634