Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "apachectl" stand for? Why isn't it just "apache"?

Tags:

linux

apache

This should be easy, just curious. I know "httpd" is the HTTP daemon, just curious what the relationship is between "httpd" and "apachectl."

like image 694
Bialecki Avatar asked May 24 '09 20:05

Bialecki


People also ask

What is Apachectl?

apachectl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the functioning of the Apache httpd daemon.

Why Apache is called httpd?

"httpd" is the name of the deamon/service that runs in the background and processes all requests. "Apache Web Server" is the name of the software, which includes httpd.

What does the D in Httpd stand for?

HTTPd stands for Hypertext Transfer Protocol daemon. It usually is the main software part of an HTTP server better known as a web server.

Where is Apachectl?

The apachectl command is located in the bin subdirectory within the IBM HTTP Server installation directory. If that directory is not in your PATH, the full path should be given on the command line.


2 Answers

It's short for apache control(ler?). It tells apache what to do, but it isn't the service itself.

like image 120
James L Avatar answered Oct 12 '22 01:10

James L


httpd is the practical daemon. It's the part that really does the job. apachectl is how you can control this daemon, and do operations on it. It's merely a control interface, not the real program itself.

From the manpage :

apache2ctl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the functioning of the Apache apache2 daemon.

(I have apache2 on my machine but it's the same thing)

like image 42
Valentin Rocher Avatar answered Oct 12 '22 00:10

Valentin Rocher