Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31170

Summary: apache2 and php install confusion
Product: Gentoo Linux Reporter: Steven Wagner <stevenwagner>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steven Wagner 2003-10-14 19:27:22 UTC
From the Ebuild documentation for developers-
"Remember, the packages that you commit must be ready "out of the box" for
end users when commited as stable. Make sure that you have a good set of
default settings that will satisfy the majority of systems and users that
will use your package. "


'emerge apache' by default installs apache2, but 'emerge mod_php' by default is
set to use apache(1). 'use="apache2" emerge mod_php' solve this, but it is
confusing how mod_php defaults to apache1 even though apache2 is the default
apache to be installed on a system.

Reproducible: Always
Steps to Reproduce:
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-15 01:04:19 UTC
NO
something is wrong with your system if "emerge mod_php" brings in apache1.
USE=apache2 is ONLY for the specific case where you havee BOTH apache versions
installed simultaneously, and want to install mod_php for the apache2.

If only one version of apache is installed, mod_php detects that as needed.

curie-int gentoo-x86 # ACCEPT_KEYWORDS="-* x86" USE="-*" emerge -ep mod_php
|egrep 'php|apache'
[ebuild  N    ] net-www/apache-2.0.47
[ebuild  N    ] dev-php/mod_php-4.3.3-r1