Page 1 of 1

How to stop xampp service for one single project ?

PostPosted: 28. May 2015 08:17
by manoj.m
Hi,

I am using xampp control panel, I have nearly 10 projects running in the htdocs folder. I need to update only one of my project, so during the update i dont want other applications to be shutdown by shutting the xampp service. Is there any way I can stop the service of the only project I need instead of stopping the xampp service?

Re: How to stop xampp service for one single project ?

PostPosted: 28. May 2015 14:58
by mark.mcdonald
Did you stop the xampp service to add 10 of them? Batch Robocopy does a great job of copying files from point a to point b without having to stop xampp. Need more detail about this project. IF it is just files and folders. You could copy it out, modify it, copy it back into the htdocs folder. IF there are services in the project folder attached to xampp in anyway then you will have to turn off xampp to do it. But this is standard, to do any upgrades or maintenance, the system usually goes offline for a bit. The best thing you could do is do this maintenance around 2:00 in the morning when no one is awake and the minimal people would be affected by it.

Re: How to stop xampp service for one single project ?

PostPosted: 29. May 2015 03:09
by gsmith
2am where? Edmonton, Sydney, London?

I'd suggest that manoj.m recons his logs a bit to find the sweet spot where his server is typically the most quiet.

Re: How to stop xampp service for one single project ?

PostPosted: 29. May 2015 04:55
by manoj.m
Thank you guys mark & smith, 2 am ???, its just my curiosity to stop the service of a single application and doesnt want the other 9 to be down during the maintanance of this one application.
I think it would be better if we have a option in the control pannel to suggest the projects running inside the htdocs folder, and a button to disable the request or service of a specific application inside htdocs.!!! :idea:

Re: How to stop xampp service for one single project ?

PostPosted: 29. May 2015 12:26
by Altrea
Hi,

It is not the responsibility of Apache or XAMPP to provide a maintenance mode for a webapplication, it is the responsibility of the webapplication.

Google for ".htaccess maintenance mode" and you will find many solutions you can adapt for your application.

Best wishes,
Altrea

Re: How to stop xampp service for one single project ?

PostPosted: 02. June 2015 06:30
by manoj.m
Thanks a lot guys, I got the idea now. I just forgot the .htaccess completely :idea: .