What is the difference between apachectl and httpd.worker?

Solution 1:

  1. apachectl is a wrapper over httpd and just sets some environment variables and adds further functionality, like configtest, more in detail here. httpd.worker is like httpd but with the worker module enabled.

  2. The first script executes the httpd.worker binary with the httpd.conf configuration file.

  3. Correct, apachectl appends the -k start parameter to httpd