Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84747 - apache-2.0.53 and mod_php-4.3.10-r1 do not work
Summary: apache-2.0.53 and mod_php-4.3.10-r1 do not work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 06:08 UTC by Martin Wegner
Modified: 2005-03-14 16:28 UTC (History)
1 user (show)

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


Attachments
config-log on my ppc machine (mod_php-4-3.10-ppc-config.log,52.26 KB, text/plain)
2005-03-14 16:18 UTC, Nicolas Vilz
Details
config-log on my x86 machine (php-x86-4.3.10-config.log,65.17 KB, text/plain)
2005-03-14 16:21 UTC, Nicolas Vilz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wegner 2005-03-10 06:08:11 UTC
This has probably something to do with the apache package refresh issue:

I emerged apache-2.0.53 and mod_php-4.3.10-r1 (unmasked manually before) which should work with the apache refresh.

The problem is that although I updated all configs all php files on the server are only provided as download, none is parsed. I have no hint how to solve this. This also occurs when I completely remerge apache and mod_php .

-D PHP4 is defined in /etc/conf.d/apache2

Reproducible: Always
Steps to Reproduce:
1. emerge =apache-2.0.53
2. emerge =mod_php-4.3.10-r1
3. /etc/init.d/apache2 restart
4. Open http://localhost/phpinfo.php

Actual Results:  
File is sent as download

Expected Results:  
Should be parsed by mod_php

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r0, 2.6.11-mw i686)
=================================================================
System uname: 2.6.11-mw i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Mar  4 2005, 16:53:18)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/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="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acl acpi acpi4linux alsa apache2 apm avi
bash-completion berkdb bitmap-fonts blender-game bonobo bzip2 bzlib cdparanoia
cdr crypt cups curl dba dedicated dga divx4linux doc dvd emboss encode escreen
fam fbcon flac foomaticdb fortran freetype ftp gd gdbm gif gimpprint gnome
gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 java jpeg libg++ libwww mad
mailwrapper mbox mikmod mmx mmx2 motif mozilla mp3 mpeg mysql ncurses net nls
no-htdocs oggvorbis opengl oss pam pcre pdflib perl php png posix python
quicktime quotas readline real rtc ruby samba sdl session shared silverxp slang
sockets spell spl sse ssl stencil-buffer svg svga tcltk tcpd tetex tiff
tokenizer truetype truetype-fonts type1-fonts usb userlocales videos vim-with-x
wxwindows xchattext xfs xml xml2 xmms xpm xprint xsl xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-10 15:58:23 UTC
please provide a diff of your /etc/apache2/httpd.conf against the stock version.
Comment 2 Martin Wegner 2005-03-10 22:54:04 UTC
No differences. Just emerged apache and mod_php and added "-D PHP4" to the APACHE2_OPTS (or similar) variable in /etc/conf.d/apache2 and then started apache. Then all php files were presented for downloading.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-10 23:00:14 UTC
enable the /server-info data, and see if it shows that if PHP module is loaded or not.

Please post the output from 'md5sum /etc/apache2/httpd.conf'
Comment 4 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-10 23:17:04 UTC
Martin, have you done a full stop/start ?  If not, can you try the following

  /etc/init.d/apache2 stop
  /etc/init.d/apache2 start

and see if that helps ?
Comment 5 Martin Wegner 2005-03-11 09:32:54 UTC
OK, wrong alert. I completely removed apache and mod_php (also configs) and emerged them completely newly and it works. Maybe this issue was caused by some inconsistency in configs or so.

Thanks to everyone here for his help and time ...
Comment 6 Nicolas Vilz 2005-03-14 16:18:23 UTC
Created attachment 53470 [details]
config-log on my ppc machine
Comment 7 Nicolas Vilz 2005-03-14 16:21:12 UTC
Created attachment 53471 [details]
config-log on my x86 machine
Comment 8 Nicolas Vilz 2005-03-14 16:23:00 UTC
emerge info on my ppc machine:

Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 ppc)
=================================================================
System uname: 2.6.10-gentoo-r6 ppc 7410, altivec supported
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 09:08:41)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.6.3, 1.5, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage"
USE="X aalib aim alsa altivec apache2 arts bash-completion berkdb bidi bitmap-fonts bluetooth bonobo bzip2 cddb cdr cdrom cjk clamav crypt cups curl dba directfb divx4linux dlloader dmx dvd dvdr dvdread eep emboss escreen esd etwin fam fbcon fla flac font-server foomaticdb fortran ftp gd gdbm gif gimpprint gpm gstreamer gtk gtk2 hardened hardenedphp iconv icq imagemagick imap imlib ipv6 ipv6arpa irda irmc jabber jack jack-tmpfs java jpeg junit ldap libwww mad maildir motif mozilla mp3 mpeg mpeg4 msn mysql ncurses nethack nls odbc oggvorbis opengl oscar pam pcmcia pda perl php png pnp postgres ppc ppds psyco pthreads python qt quicktime radeon readline samba screenshot sdl session slang soap spell sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1 type1-fonts unicode vhosts vim-with-x wmf xine xinerama xml xml2 xmms xprint xsl xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

---

and on my x86 machine:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) MP Processor 1900+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 19:00:50)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.10
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage"
USE="x86 X aalib acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bluetooth caps crypt cups curl dba dedicated dvd emboss encode esd fam flac font-server foomaticdb fortran freetype ftp gd gdbm gif gimp gkrellm gnome gpm gstreamer gtk gtk2 icq imagemagick imlib ipv6 ithreads jack java jpeg kde kdepim libg++ libwww mad mailbox maildir maildrop mbox mikmod mmx motif mozilla mp3 mpeg mplayer mysql ncurses nls nowin nvidia oav offensive oggvorbis opengl oss pam pascal pdflib perl php png python qt quicktime readline ruby screenshot sdl session slang sms spell sql sqlite ssl subversion svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vchroot vhosts xfs xine xinerama xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 9 Nicolas Vilz 2005-03-14 16:27:19 UTC
Comment on attachment 53470 [details]
config-log on my ppc machine

one day i learn how to handle with that bugzilla... sorry :)
Comment 10 Nicolas Vilz 2005-03-14 16:27:47 UTC
Comment on attachment 53471 [details]
config-log on my x86 machine

same here... sorry... one day...
Comment 11 Nicolas Vilz 2005-03-14 16:28:31 UTC
... and just ignore my emerge infos :)