How Do I Restart Apache on Linux?
Contents

How do I restart httpd?

How do I restart httpd service? You can use the service or systemctl command to restart httpd server. Another option is use /etc/init. d/httpd service script.

How do I start and stop httpd in Linux?

Welcome

  1. 11.3. Starting and Stopping httpd. …
  2. To start the server using the apachectl control script as root type: apachectl start. …
  3. To stop the server, as root type: apachectl stop. …
  4. You can restart the server as root by typing: …
  5. You can also display the status of your httpd server by typing:
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest