LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2010, 05:23 PM   #1
MartenH
Member
 
Registered: Jul 2005
Location: Lund, Sweden
Distribution: Debian
Posts: 78

Rep: Reputation: 23
Apache with php problem


Hello,

I am trying to set up an apache server. I figured i should use the latest version of apache (beeing apache2) since webmin was not fond of my first apache install.

I ran
Code:
 urpmi apache-mpm-worker
and it asked me about two different versions. One was "regular" and one was called "rsbac". rsbac wanted to update some kernel things which I didn't feel comfortable with so I installed the regular version.

Everything went fine until I tried to to install PHP support. When I run
Code:
urpmi apache-mod_php
I receive the following message:
Code:
[root@holisrv2 /]# urpmi apache-mod_php
The following package has to be removed for others to be upgraded:
apache-mpm-worker-2.2.14-1.2mdv2010.0.i586
 (due to conflicts with apache-mod_php) (y/N)
So adding php support would cause apache to be removed. That doesn't make sense...?

What am I doing wrong?
 
Old 02-22-2010, 08:53 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Try this post, I realise it's a different OS/distro but it's not overly ubuntu specific.
http://ubuntuforums.org/showthread.php?t=1038416

Last edited by smoker; 02-22-2010 at 08:58 PM.
 
Old 02-22-2010, 10:02 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Historically, you use Apache's prefork MPM with mod_php (not the worker MPM). My guess is your package manager's dependencies are designed to reflect that.
 
  


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
Apache/PHP/GD Problem johndmann Linux - Software 2 03-15-2006 12:04 PM
Help with PHP and Apache problem. Phantisy Linux - Software 7 08-16-2004 08:53 AM
Apache+PHP problem vyuryev Programming 2 12-17-2003 07:11 AM
Apache php index.php problem neurotic Linux - Software 3 11-18-2003 07:02 PM
problem apache/php dbu Linux - Software 0 01-31-2001 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration