Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78728 - libphp5.so in modules, not extramodules. also, can't find mod_php.conf in addon-modules.
Summary: libphp5.so in modules, not extramodules. also, can't find mod_php.conf in add...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 60438
  Show dependency tree
 
Reported: 2005-01-19 14:24 UTC by ben calvert
Modified: 2005-08-25 00:34 UTC (History)
0 users

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 ben calvert 2005-01-19 14:24:07 UTC
for an apache1 install the mod_php-5.0.3 and 5.0.3-r1 ebuilds install libphp5 in /etc/apache/modules, but the pkg_config function sets up apache.conf to look in /etc/apache/extramodules

when i manually fix apache.conf ( s|extramodules/libphp5|modules/libphp5| ) I then get complaints about not being able to find /etc/apache/conf/addon-modules/mod_php.conf.  there isn't anything called 'mod_php.conf' anywhere in /etc...


Reproducible: Always
Steps to Reproduce:
1. emerge mod_php
2. ebuild /var/db/pkg/dev-php/mod_php-5.0.3-r1/mod_php-5.0.3-r1.ebuild config
3. add "-D PHP5" to /etc/conf.d/apache
4. /etc/init.d/apache start
5. ???
6. Profit!

Actual Results:  
Syntax error on line 59 of /etc/apache/conf/apache.conf: 
Cannot load /etc/apache/extramodules/libphp5.so into 
server: /etc/apache/extramodules/libphp5.so: cannot open shared object file: 
No such file or directory  
 
( then, after fixing apache.conf ) 
 
fopen: No such file or directory 
apache: could not open document config 
file /etc/apache/conf/addon-modules/mod_php.conf  


Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, 
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r5 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1700MHz 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux-headers-2.4.21-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/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=pentium3 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms 
userprivs usersandbox" 
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://mirror.datapipe.net/gentoo 
http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.seren.com/gentoo 
http://mirror.usu.edu/mirrors/gentoo/ ftp://gentoo.llarian.net/pub/gentoo 
http://adelie.polymtl.ca/ http://mirrors.acm.cs.rpi.edu/gentoo/ 
http://prometheus.cs.wmich.edu/gentoo http://gentoo.mirrors.pair.com/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" 
USE="x86 16bit 3dnow S3TC X X509 a52 aac aalib acpi acpi4linux aim alsa amd 
apache1 arts artswrappersuid artworkextra async audiofile avi bash-completion 
bcmath beep beepmp berkdb bidi blender-game bmp bootsplash bzip2 bzlib cairo 
calendar cddb cdf cdparanoia cdr cdrom chroot clanVoice codecs cracklib crypt 
cscope css ctype cups curl curlwrappers dba devmap dhcp dio directfb distcache 
divx4linux djbfft dnd dv dvd dvdr dvdread editor edl eds emacs emoticon encode 
erandom escreen esd etwin exif extensions fam fame fastcgi fb fbcon fbdev 
festival ffmpeg fftw flac flash flatfile fmod font-server foomaticdb fpx 
freetype ftp gcc-libffi gcj gcl gd gdbm ggi gif gimp gimpprint ginac glade 
glep glgd glitz glut gmp gnokii gnuplot gnustep gpm graphviz gs gsnd gstreamer 
gtk gtk2 hbci howl icon icq icu idea idl ieee1394 image imagemagick imap imlib 
imlib2 inifile irda irmc ithreads j2ee jabber jack jack-tmpfs java javascript 
jikes joystick jp2 jpeg jpeg2k kde koffice-plugin ladcca largeterminal lcms 
leim libclamav libwww live lm_sensors logitech-mouse lzo lzw lzw-tiff mad 
maildir mailwrapper maps matroska mcal md5sum mhash mikmod mime mimencode ming 
mixer mjpeg mmap mmx mng motif mp3 mpeg mpeg4 mpi mplayer msn multi-tty 
mzscheme nas ncurses nethack network nls nocd nowin ntlm nvidia nviz oav objc 
offensive oggvorbis openal openexr opengl opie oscar pam pcmcia pcntl pcre pda 
pdf pdflib pear-db perl pg-hier pg-intdatetime pg-vacuumdelay physfs pic 
playlist plotutils png pnp portaudio posix postgres postgresql povray ppds pri 
private pthreads python qt quicktime readline real resperl rogue rrdtool rtc 
ruby samba scanner sdl session sftplogging shared simplexml skey slang slp 
smime sms smtp sndfile sockets socks5 speedo speex spell spl sse ssl 
stencil-buffer streamzap svg svga sysvipc szip tcltk tcpd tcpmd5 tcsim tetex 
tga theora threads thumbnail tidy tiff timidity tlen tokenizer tools transcode 
truetype truetype-fonts type1 type1-fonts underscores unicode usb uudeview 
vcdimager videos vidix vim vim-pager vim-with-x wifi winbind wmf wsconvert 
wxwindows xanim xface xgetdefault xim xine xinerama xinetd xml xml2 xmlrpc 
xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yahoo yaz yv12 zeo 
zlib"
Comment 1 David Cuddeback 2005-03-06 22:04:30 UTC
> when i manually fix apache.conf ( s|extramodules/libphp5|modules/libphp5| ) I then get complaints about not being able to find /etc/apache/conf/addon-modules/mod_php.conf.  there isn't anything called 'mod_php.conf' anywhere in /etc...

Copy /usr/portage/dev-php/mod_php/files/70-mod_php5.conf to /etc/apache/conf/addon-modules/mod_php.conf and it should work.
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2005-08-25 00:34:35 UTC
Hi,

This is now fixed in our Gentoo PHP Overlay [1].  We hope to get these packages
into Portage in the next few weeks, but until then the overlay is available for
general use.

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/

Best regards,
Stu