Page 1 of 1

Stopping XAMPP with Linux Ubuntu OS

PostPosted: 18. March 2016 08:20
by ceck
Hello,

I am using XAMPP since a long time, and most of the time, I do not stop XAMPP when I shut down my computer.
Until now, I have never encounter any issue, but I am not sure if it is good or not.

So, my question is : is it advisable to stop XAMPP before shutting down the computer ?

Thanks for any answer. :)

--------------------------------
Hallo,

Ich benutze XAMPP seit langer Zeit, und die meiste Zeit, ich XAMPP nicht aufhören, wenn ich meinen Computer herunterfahren .
Bis jetzt habe ich noch nie jedes Problem begegnen, aber ich bin nicht sicher, ob es gut ist oder nicht.

Also, meine Frage ist: ist es ratsam, XAMPP zu stoppen, bevor Sie den Computer herunterfahren ?

Vielen Dank für jede Antwort. :)

Re: Stopping XAMPP with Linux Ubuntu OS

PostPosted: 18. March 2016 10:31
by Nobbie
ceck wrote:So, my question is : is it advisable to stop XAMPP before shutting down the computer ?


Yes, of course. Especially MySQL may leave a crashed database (ths is already an issue for Xampp Windows). It is always safe to shut down software tools softly.

Simply create a symbolic link from /opt/lampp/lampp to /etc/init.d/lampp and you can start/stopp lampp as daemons on startup/shutdown automatically.

Re: Stopping XAMPP with Linux Ubuntu OS

PostPosted: 18. March 2016 20:49
by ceck
@ Nobbie, Thanks for your answer.

Could your please tell me how I can stop lampp automatically (if the servers are running) ?

Thanks

Re: Stopping XAMPP with Linux Ubuntu OS

PostPosted: 19. March 2016 11:15
by Nobbie
# /etc/init.d/lampp stop

For more information about init.d and runlevels (i.e. folders /etc/rc0.d, /etc/rc1.d etc.) ask in a linux forum. This is basic linux knowledge.