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:
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