How to stop Apache Service through its control Script?

0
5
Stop Apache service

Stop Apache service

Apache is a freely available Web server that is distributed under an “open source” license. Version 2.0 runs on most UNIX-based operating systems (such as Linux, Solaris, Digital UNIX, and AIX), on other UNIX/POSIX-derived systems (such as Rhapsody, BeOS, and BS2000/OSD), on AmigaOS, and on Windows 2000. According to a Netcraft (www.netcraft.com) Web server survey, 60% of all web sites on the Internet are using Apache (62% including Apache derivatives), making Apache more widely used than all other web servers combined. The Apache service is controlled by using a script called apachectl. In order to stop Apache using its control script, we need to run the below command.

Command:

# apachectl stop [On Debian based Systems]
# /etc/inid.t/httpd stop [On Red Hat based Systems]

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here