start Apache
apachectl start
Stop Apache
apachectl stop
Restart Apache
apachectl restart
If the above commands don’t work, try these
/etc/init.d/httpd start
/etc/init.d/httpd stop
/etc/init.d/httpd restart
You can also start the web server from the system preferences. Open system preferences, go to sharing and then enable web sharing