Page 1 of 1

can't start apache as service

PostPosted: 17. November 2012 05:19
by vmayer99
I'm wondering if there's some sort of Windows security setting preventing me from being able to start Apache as a service.

If I click on the checkbox "Svc" for Apache, I get the popup: "Click OK to install the Apache service". I click OK.

I read online that at this point, I should be able to go to Control Panel->Administrative Tools->Services and see Apache in the list. But it's not there.

If I exit the XAMPP Control Panel, and then restart it, "Svc" next to "Apache" is once again unchecked.

I'm not sure what the difference is between clicking the "Svc" checkbox and clicking the "Services..." button, but when I click that, I get the "Service Settings" dialog. Here I click the checkbox "Run XAMPP Control Panel as a Service", and then the "Apache" checkbox under that. "System Account" is selected below. I hit "OK", but then if I reopen the dialog by clicking "Service..." once again, nothing is checked anymore.

So, it seems like either XAMPP or Windows doesn't want me doing this.

Interestingly, (and maybe I set it up this way...I don't remember) MySql and FileZilla are both being run as system services. (The "Svc" checkbox is selected next to both, and I see both in Control Panel->Serivces.)

Re: can't start apache as service

PostPosted: 18. November 2012 16:38
by JonB
Most of the time - you really only need use the Control Panel

A good question would be what's happening in the Control Panel dialogue box?

10:35:33 AM [main] Initializing Control Panel
10:35:33 AM [main] Windows Version: Windows XP SP3 32-bit
10:35:33 AM [main] XAMPP Version: 1.8.0
10:35:33 AM [main] Control Panel Version: 3.0.12 [ Compiled: June 24th 2012 ]
10:35:33 AM [main] Running with Administrator rights - good!
10:35:33 AM [main] XAMPP Installation Directory: "c:\xampp\"
10:35:33 AM [main] Initializing Modules
10:35:33 AM [apache] XAMPP Apache Service is already running on port 80
10:35:33 AM [apache] XAMPP Apache Service is already running on port 443
10:35:33 AM [mysql] XAMPP MySQL Service is already running on port 3306
10:35:33 AM [main] Starting Check-Timer
10:35:33 AM [main] Control Panel Ready
10:35:58 AM [apache] Stopping apache service...
10:36:08 AM [apache] Status change detected: stopped
10:36:13 AM [apache] Uninstalling service...
10:36:14 AM [apache] Successful!
10:36:25 AM [apache] Installing service...
10:36:28 AM [apache] Successful!


Currently, what is the Apache service 'control icon' showing?

:?: