Any difference between httpd and apache2
9,251
Solution 1
Well, httpd is basically just the same as apache2 in most modern operating systems. Of course, you should check an actual version of Apache in your system because minor version numbers can (and will) differ.
Solution 2
On Snow Leopard, I see this:
$ apachectl -v
Server version: Apache/2.2.17 (Unix)
Server built: Dec 1 2010 09:58:15
On Lucid, I see this:
$ apache2ctl -v
Server version: Apache/2.2.14 (Ubuntu)
Server built: Sep 1 2011 09:47:45
So, yes, essentially the same. The difference in naming probably has to do with historic packaging conventions at Ubuntu and Apple. RHEL, for what it's worth, also calls its Apache2 package "httpd".
Related videos on Youtube
Author by
timpone
Updated on September 18, 2022Comments
-
timpone almost 2 years
Snow Leopard calls it httpd and Ubuntu apache2. Are there any differences? One difference is apache2ctl on Ubuntu and apachectl on Snow Leopard.
thx
-
user1364702 almost 13 yearsThe best solution, given that we don't know your patchlevel or versions you're comparing, is just what @cjc did. Check the versions. And you might want to see if you can find the compiled options as well. Otherwise, we'd have to know what in particular you're trying to do to see what difference you're worried about between them.
-
timpone almost 13 yearsthx - I'm trying to keep local dev and prod in sync as much as possible as our SA has bailed out. Ideally, I'd like to know if I could just create a symlink and have a common set of scripts to check for.
-
EEAA almost 13 yearsIt's not so much about "modern" vs. "non-modern", but rather just historical naming conventions. RHEL6, for instance, still calls apache "httpd".
-
EEAA almost 13 yearsAhh, sure. Understood now.