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 the difference between apache and apache tomcat?

0 Answers  


How to secure website hosted on apache web server?

0 Answers  


How do I download apache for windows?

0 Answers  


What is mod_vhost_alias?

2 Answers  


Which is better apache or nginx?

0 Answers  


Do I need programming skills to install apache in my system?

0 Answers  


What is the typical log file size per 10k requests in an apache web server?

0 Answers  


Can we cache files which are viewed frequently?

0 Answers  


What did systemd replace?

0 Answers  


What are the log level available in apache?

0 Answers  


What is Apache?

3 Answers   MicroESys,


How you will put a limit on uploads on your web server?

0 Answers  


Categories