LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-25-2009, 04:54 PM   #1
beebopbogo
Member
 
Registered: Oct 2006
Posts: 38

Rep: Reputation: 15
yum install PHP: yum tries to install duplicate httpd


I installed apache 2.0 from scratch onto my Fedora Core 9 server. I now want to install PHP. I'm lazy by nature, so just want to try 'yum install php'. However, yum wants me to say "Y" to the "Installing for depencies" question, which includes httpd. httpd is already installed!

How can I get yum to see my /usr/local/apache2 installation while installing php?
 
Old 05-26-2009, 02:08 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,242

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
Is there any reason you installed Apache from scratch? That's not being lazy, and the rpm DB (underlying yum) won't see it.
Simplest is to save a copy of the httpd.conf files (if you've customised them), then remove the hand-built Apache and let yum replace it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install php-curl trouble wificonnexion Linux - Newbie 7 05-11-2011 12:27 AM
yum install php-mysql uhmaster2000 Linux - Newbie 11 05-18-2009 07:12 PM
Configure PHP source to HTTPD installed from YUM ittec Linux - Software 2 03-03-2008 03:31 AM
Trying to install GNOME via yum. Says httpd missing, when its not. Cpanel. CrewXp Linux - Software 0 10-11-2007 02:26 AM
can I use yum to install mysql and php rscott Linux - Newbie 7 05-29-2005 07:29 PM


All times are GMT -5. The time now is 08:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration