Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Today I was installing phpmyadmin on Ubuntu 12.04 and after a while a dialogue poped stating what server I want to use (apache2 and httpd).

Are these two, two different kind of server?

share|improve this question

4 Answers 4

up vote 7 down vote accepted

httpd is the same as apache2. but it depends on the OS you use.for example in RHEL 6.2 it is httpd but apache2 in ubuntu 12.04.

share|improve this answer

The directives used in apache2 and httpd config files are slightly different, as well as the directory structure. It's advised to install apache2 on ubuntu and httpd on redhat-style distros (RedHat, CentOS, Fedora), but if you install httpd and its dependencies, it works as well.

share|improve this answer

I searched some info about it and it is the same: Apache home page and wiki of apache

share|improve this answer

As with @Pixelizer, they are the same application - except that some Linux distributions refer to it differently. RedHat-based distros (CentOS, Fedora) refer to it as httpd while Debian-based distros (Ubuntu) refer to it as apache. Gentoo, strangely enough, mostly refers to it as apache - but config files have httpd in the naming conventions.

Background: The application's name is actually "Apache HTTP Server" - but it is often called "Apache httpd" (http* daemon) by the Apache Foundation. Colloquially, Unix admins have simply called it "Apache". Unless you specifically mention a different project, because the httpd service is the most famous of Apache's projects, everyone already knows what you're referring to when you simply say "Apache".

*http -> HyperText Transfer Protocol

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.