After emerging dev-lang/php-5.0.4, the 70_mod_php5.conf file is installed under /etc/apache2/modules.d, instead of /etc/apache2/conf/modules.d. If apache2 is started, the php5 module is not loaded, because of the missing configuration file. equery l apache [ Searching for package 'apache' in all categories among: ] * installed packages [I--] [ ] net-www/apache-2.0.54-r15 (2) equery l php [ Searching for package 'php' in all categories among: ] * installed packages [I--] [ ] dev-lang/php-5.0.4 (5) emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.agsn.ca/ http://mirror.datapipe.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ceid.upatras.gr/pub/linux/gentoo http://gentoo.math.bme.hu http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.etf.bg.ac.yu/gentoo http://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ ftp://gentoo.risq.qc.ca/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 acl acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 bzlib caps cdr cli crypt ctype cups curl dba doc dvd dvdr dvdread eds emboss encode esd exif fam fbcon flac foomaticdb fortran ftp gd gdbm gif gimp gimpprint glx gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hddtemp iconv imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal ldap libg++ libwww mad mikmod mime mmx mmxext motif mozilla mp3 mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcntl pcre pdflib perl pic png postgres postgresi ppds python qt quicktime readline recode ruby samba scanner sdl server session slang soap sockets speex spell spl sqlite sse ssl svga symlink tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis win32codecs xine xml xml2 xmlrpc xmms xpm xprint xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
No, the location is correct, your apache version is not. To use dev-lang/php, you need the unstable (>=apache-2.0.54-r30) version. @vericgar: The updated depends seem to be incorrect, please check this.
The bumps I did yesterday were done in an atomic way that would not break the tree like this. Are you using the php overlay? I suspect you are - the depend.apache.eclass there has not been updated and that is most likely the cause of this version mismatch. Please delete the overlay (as it should be merged into main portage now), emerge sync, and then re-emerge php and apache.
(In reply to comment #2) > Are you using the php overlay? How can I tell? I'm using dev-lang/php-5.0.4 from the official portage tree. > Please delete the overlay (as it should be merged into main portage now), emerge > sync, and then re-emerge php and apache. I did emerge --sync today and I've also emerged apache-2.0.54-r30 where the configuration files have changed their locations. I did the upgrading and all seems to work fine now.