Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31170 - apache2 and php install confusion
Summary: apache2 and php install confusion
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 19:27 UTC by Steven Wagner
Modified: 2003-10-15 01:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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