I am not sure if this is a bug or "feature", but after asking on IRC i was told to report it as a bug. As described in topic, mod_php does not seem to compile support for apache2, but still install it. (Should there be any optional support for apache1)? I have not installed it yet, so I don't know if php will work or not. Reproducible: Always Steps to Reproduce: 1. emerge -pv mod_php Actual Results: [ebuild N ] app-crypt/mhash-0.8.18-r1 339 kB [ebuild N ] dev-util/yacc-1.9.1-r1 63 kB [ebuild N ] net-www/apache-2.0.48-r1 +berkdb -gdbm -ldap 6,111 kB [ebuild N ] dev-libs/libmcrypt-2.5.7 511 kB [ebuild N ] dev-perl/XML-Parser-2.34 224 kB [ebuild N ] app-text/sablotron-0.97 428 kB [ebuild N ] sys-libs/db-1.85-r1 264 kB [ebuild N ] net-libs/libwww-5.4.0-r2 -mysql +ssl 1,110 kB [ebuild N ] dev-php/mod_php-4.3.4-r4 -X -apache2 +berkdb +crypt -curl -firebird -flash -freetds -gd -gd-external -gdbm -imap -informix -ipv6 -java -jpeg -ldap -mcal -memlimit -mysql +nls -oci8 -odbc +pam -pdflib -png -postgres -qt -snmp -spell +ssl -tiff -truetype -xml2 -yaz 3,686 kB [ebuild N ] dev-php/php-4.3.4-r4 -X +berkdb +crypt -curl -firebird -flash -freetds -gd -gd-external -gdbm -imap -informix -ipv6 -java -jpeg -ldap -mcal -memlimit -mysql -ncurses +nls -oci8 -odbc +pam -pdflib -png -postgres -qt +readline -snmp -spell +ssl -tiff -truetype -xml2 -yaz 3,686 kB Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6. 3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 Pentium II (Klamath) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=pentium2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=pentium2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.easynet. nl/mirror/gentoo/ ftp://mirror.pudas.net/gentoo ftp://ftp.uninett. no/pub/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb crypt nls pam perl pic python readline ssl tcpd x86 zlib"
you're wrong here. read the description of the Apache2 use flag more closely: Apache2 - Chooses Apache2 support when a package supports both Apache1 and Apache2 PHP's logic is the following: if NO apache is installed, pull in apache2 and use it if apache1 ONLY is installed, use it if apache2 ONLY is installed, use it if BOTH apache1 and apache2 are installed, look at the apache2 USE flag.