To do :
https://www.thegeekstuff.com/2008/08/9-tips-to-use-apachectl-and-httpd-like-a-power-user/
- httpd stands for apache http demon
- apachectl is just a wrapper over httpd
Check the loaded modules :
apachaectl -M
Test the configuration of all .conf file :
apachectl configtest
Note :
- /usr/sbin/apache2 can also start apachectl but just apache2 is just for start and stop of service and init.d but actually apachectrl can do more things.
Read Me :
https://serverfault.com/questions/213956/what-is-the-difference-between-apachectl-and-httpd-worker/213960 http://httpd.apache.org/docs/2.0/programs/apachectl.html https://serverfault.com/questions/645538/what-is-the-difference-between-using-apachectl-and-apache2-to-restart-apache