Page 1 of 1

Remove the apache service

PostPosted: 14. September 2012 09:58
by Izzy123
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?

Re: Remove the apache service

PostPosted: 14. September 2012 11:38
by JonB
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.

Re: Remove the apache service

PostPosted: 14. September 2012 14:02
by Izzy123
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!

Re: Remove the apache service

PostPosted: 14. September 2012 16:14
by JonB
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

Re: Remove the apache service

PostPosted: 15. September 2012 01:22
by Izzy123
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)?

Re: Remove the apache service

PostPosted: 15. September 2012 01:56
by JonB
If XAMPP is set up correctly and working, the answers are yes and yes

Good Luck

Re: Remove the apache service

PostPosted: 15. September 2012 03:30
by Izzy123
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?