Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to know, what is the different between, the build-in CentOS server web server vs I install manual with yum install httpd

I am new in CentOS. I just installed my CentOS 5.8 Server with Web Server checked. With some Google Search with LAMP installation, they listed with yum install httpd

I had check inside

/etc/init.d/

already had httpd

I try to run yum install httpd http-devel

It shows not yet installed.

What will happen if I install yum version? What should I do? What is the best practise? Should I remove the Web Server install by default with CentOS?

My goal is install LAMP (PHP v5.2.17).

share|improve this question

1 Answer 1

up vote 1 down vote accepted

HTTPd is the default web server that installs with CentOS.

http://mirror.centos.org/centos/5/os/i386/repodata/comps.xml:

<group>
  <id>web-server</id>
  <name>Web Server</name>
  <packagelist>
     ...
    <packagereq type="mandatory">httpd</packagereq>
 ...
share|improve this answer
    
ya, so what if I install with yum install httpd, will it conflict? what is the best practise to setup it, due to I need to install PHP v 5.2.17 –  Shiro Apr 2 '12 at 5:15
    
There is no conflict, it's the same damn package. PHP 5.2.17 isn't available in the repos though; only 5.1.6 and 5.3.3 can be installed. –  Ignacio Vazquez-Abrams Apr 2 '12 at 5:19
    
Oh! that's great. I have this confusion because, when I enter yum install http-d it was asking me new installation. So I have the a thought it might conflict with original package. Thanks! –  Shiro Apr 2 '12 at 6:18
    
btw, how can I check the apache version? I tried /etc/init.d/httpd -v but not working. please help –  Shiro Apr 2 '12 at 8:05
    
That's the initscript. The binary is in /usr/bin. –  Ignacio Vazquez-Abrams Apr 2 '12 at 8:07

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.