Remove the apache service

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Remove the apache service

Postby Izzy123 » 14. September 2012 09:58

When I first install xampp, I tick the box that says "install apache as service" and "install MySQL as service"

Now I want to modify httpd.conf file in apache to listen to port 8080 so that both apache and IIS can run together. But I'm not sure if I should firstly remove the apache as service and manually start the server instead of having the apache running all the time, or i can leave the apache service as it is and change the httpd.conf file to listen to port 8080?
Izzy123
 
Posts: 6
Joined: 07. September 2012 14:40
Operating System: Windows 7

Re: Remove the apache service

Postby JonB » 14. September 2012 11:38

It will not matter, just Stop Apache and restart manually with the Control Panel. 'Services' only matters for the issue of rebooting, and running without an active user logged in.
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Remove the apache service

Postby Izzy123 » 14. September 2012 14:02

Thanks for the reply. But could you please explain more about what the 'service' actually do? I wasn't quite sure about it when I checked the boxes, all I heard about is the service starts when computer is turned on, but how do you know if the apache service started when I turn on my computer? I don't see the apache status as Running in the control panel when I turned on my computer, I will need to manually start it in the control panel to start apache.

Sorry for asking so much Q at once but I'm really new to xampp and apache and would like to get things right.

Thanks!
Izzy123
 
Posts: 6
Joined: 07. September 2012 14:40
Operating System: Windows 7

Re: Remove the apache service

Postby JonB » 14. September 2012 16:14

A. Apache has to be stopped to make it a service
B. When you check the Service box, you should get a dialogue box that says 'Click Yes to install the Apache Service", The Apache Box should have a Green Check mark now.
C. Reboot
D. Open the XAMPP Control Panel - if Apache does not have the green 'running' highlight on Apache, you had a problem starting. read what is in the Control Panel dialogue to see what the issue might be.

Code: Select all
11:10:34 AM  [apache]    Uninstalling service...
11:10:37 AM  [apache]    Successful!
11:11:47 AM  [apache]    Installing service...
11:11:48 AM  [apache]    Successful!
11:13:19 AM  [apache]    Starting apache service...
11:13:20 AM  [apache]    Status change detected: running
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Remove the apache service

Postby Izzy123 » 15. September 2012 01:22

Thanks again for the reply.

So you are saying if I have successfully install apache as a service, the status of apache should be Running when I opened the xampp control panel without needing me to start apache myself?

Also if I want to remove the service, does that mean if I want to start apache, I just go to the xampp control panel and click start (next to apache)?
Izzy123
 
Posts: 6
Joined: 07. September 2012 14:40
Operating System: Windows 7

Re: Remove the apache service

Postby JonB » 15. September 2012 01:56

If XAMPP is set up correctly and working, the answers are yes and yes

Good Luck
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Remove the apache service

Postby Izzy123 » 15. September 2012 03:30

Thanks, one more Q, in your previous post, you stated that we need to reboot after installing the apache service, what do you mean by rebooting? As in restarting the computer? (I'm using a remote desktop connection to a virtual computer, so I can't reboot the virtual computer as we were only suppose to 'log off' every time instead of 'shut down')

Do you think maybe that's why my apache service won't run automatically when I open xampp control panel, but I will need to manually click start for it to be Running?
Izzy123
 
Posts: 6
Joined: 07. September 2012 14:40
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 197 guests