≡ 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