Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 23
Apache with php problem


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
 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
urpmi apache-mod_php
I receive the following message:
[root@holisrv2 /]# urpmi apache-mod_php
The following package has to be removed for others to be upgraded:
 (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
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Try this post, I realise it's a different OS/distro but it's not overly ubuntu specific.

Last edited by smoker; 02-22-2010 at 08:58 PM.
Old 02-22-2010, 10:02 PM   #3
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.


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 > Forums > Linux Forums > Linux - Newbie

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

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