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 is apache web server?

0 Answers  


What is systemd and systemctl?

0 Answers  


How does an apache server work?

0 Answers  


What are the log level available in apache?

0 Answers  


What is apache http server used for?

0 Answers  






Is apache single threaded?

0 Answers  


What is the difference between apache and apache tomcat?

0 Answers  


What is an apache logs?

0 Answers  


What is apache used for?

0 Answers  


How to verify httpd.conf file to ensure no configuration syntax error?

0 Answers  


Is apache web server free?

0 Answers  


Which module is required to have redirection possible?

0 Answers  


Categories