Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105590 - php 5.0.4: 70_mod_php5.conf is installed in the wrong location
Summary: php 5.0.4: 70_mod_php5.conf is installed in the wrong location
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 104807
  Show dependency tree
 
Reported: 2005-09-11 04:04 UTC by Vasilis Lourdas
Modified: 2005-09-11 13:16 UTC (History)
1 user (show)

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 Vasilis Lourdas 2005-09-11 04:04:17 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-11 04:29:31 UTC
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.
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-09-11 10:15:26 UTC
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.
Comment 3 Vasilis Lourdas 2005-09-11 13:16:20 UTC
(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.