PDA

View Full Version : 3.8.1: how to kill apache to run xampp?



Josh83
05-04-2005, 02:28 PM
hi all

i just installed knoppix 3.8.1 on my harddisk and installed xampp on it. now i wanted to start it with

/opt/lampp/lampp start

and everything seems fine, but there still does the linux apache run! because when i stop xampp then it tells me "apache didn't run and can't be stopped".

so how can i stop the system's apache and start xampp's? thank you.

fingers99
05-04-2005, 06:37 PM
Type top in a terminal. This will give you the number of apache's pid(s)

Then open up another terminal, su to root and do

kill (pid number of Apache)

If you want to kill Apache permanently, just use the Sys V Init Editor.

(Kmenu>System>SysV-Init Editor

to stop Apache starting.

Alternatively, you can do

apt-get remove apache

to remove it altogether. (But I'd suggest you try the first two steps first.)

Josh83
05-09-2005, 09:11 AM
Type top in a terminal. This will give you the number of apache's pid(s)

Then open up another terminal, su to root and do

kill (pid number of Apache)

If you want to kill Apache permanently, just use the Sys V Init Editor.

(Kmenu>System>SysV-Init Editor

to stop Apache starting.

Alternatively, you can do

apt-get remove apache

to remove it altogether. (But I'd suggest you try the first two steps first.)

thank you! but does it make sense to remove apache completely? isn't it needed for linux to run or so? sorry, i'm still a linux-newbie. ;) so i can safely remove the old apache and alternatively start lampp's apache just when i need it? greets.