How can I start and stop apache?

Posted at October 23, 2015 at 8:10 am by InterServer Staff

The standard start/stop scripts are located in /etc/init.d or for older linux versions /etc/rc.d/init.d.

Stop apache: /etc/init.d/httpd stop

Start apache: /etc/init.d/httpd start

If you run cPanel there is a restart script located at /scripts/restartsrv.

To restart Apache run /scripts/restartsrv httpd If you have an /admin folder apache can be restarted by running /admin/res httpd

0.00 avg. rating (0% score) - 0 votes

You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply