≡ Menu

FreeBSD: Restart Apache Server

How can I restart Apache web server under FreeBSD operating systems?

To restart the Apache version 2.2 under FreeBSD, run the following as root user:
# /usr/local/etc/rc.d/apache22 restart
To stop Apache, run:
# /usr/local/etc/rc.d/apache22 stop
To start Apache, run:
# /usr/local/etc/rc.d/apache22 start

Share this tutorial on:
{ 0 comments… add one }
Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: , , , , , ,