Are you using mac OS? If you are using Mac OS and you need to restart Apache (httpd) service on Mac OS then you have to enter commands. To restart Apache first you need to login as root user and open the ssh on server. After that you have to enter following commands in shell.
- To start Apache you have to enter this command :
Code:
sudo /usr/sbin/apachectl start
- To start Apache you have to enter this command :
Code:
sudo /usr/sbin/apachectl stop
- At last you can restart the Apache with following commands :
Code:
sudo /usr/sbin/apachectl restart