What is the command to stop Apache?

Answers were Sorted based on User's Feedback



What is the command to stop Apache?..

Answer / ganesh

service httpd stop

Is This Answer Correct ?    13 Yes 1 No

What is the command to stop Apache?..

Answer / shahul

Ganesh's answers works fine, if you have added apache as one
of the service in your config.
If you want to stop apache through apache's way use:
apachectl stop

Is This Answer Correct ?    11 Yes 0 No

What is the command to stop Apache?..

Answer / abhay

kill the specific process that httpd is running under, or
killall httpd. If you have apachectl installed, use
apachectl stop.

Is This Answer Correct ?    9 Yes 0 No

What is the command to stop Apache?..

Answer / sunil

hi,

To stop apache you can use.

/etc/init.d/httpd stop command.

Is This Answer Correct ?    6 Yes 2 No

What is the command to stop Apache?..

Answer / ashish

#service httpd stop
or
#killall httpd
or
if u have apacectl installed then use
#apachectl stop

Is This Answer Correct ?    4 Yes 0 No

What is the command to stop Apache?..

Answer / ranjesh

service httpd stop

and killall httpd

Is This Answer Correct ?    0 Yes 0 No

What is the command to stop Apache?..

Answer / scorpio

./bin/apachectl stop

Is This Answer Correct ?    3 Yes 5 No

What is the command to stop Apache?..

Answer / mikky

shutdown.sh

Is This Answer Correct ?    1 Yes 11 No

Post New Answer

More Apache Interview Questions

What do you mean by documentroot of apache?

0 Answers  


What does htpasswd do?

6 Answers  


How to use apache web server linux?

0 Answers  


Can apache and nginx run on the same server?

0 Answers  


How does apache work?

0 Answers  






How can you start a apache server with different configurition ( other that httpd.conf)?

0 Answers  


What is mod_vhost_alias?

2 Answers  


Who is initial author of apache?

0 Answers  


Explain the purpose of struct?

0 Answers  


Does apache require java?

0 Answers  


What is loadmodule in apache?

0 Answers  


What do you mean by a servername directive?

0 Answers  


Categories