How do I stop Apache?

Nguyễn Tân

New member
How do I stop Apache?
Answer
systemctl command
  1. Start apache command: $ sudo systemctl start apache2.service.
  2. stop apache command : $ sudo systemctl stop apache2.service.
  3. restart apache command: $ sudo systemctl restart apache2.service.
  4. apache2ctl command can be used to stop or start apache web server under any Linux distribution or UNIX.
 

Tìm kiếm

Back
Top