Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39295 - emerge problem with turck-mmcache 2.3.20 and phpdbg
Summary: emerge problem with turck-mmcache 2.3.20 and phpdbg
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-24 17:00 UTC by Martin Holzhauer
Modified: 2005-03-08 17:28 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 Martin Holzhauer 2004-01-24 17:00:03 UTC
i emerged the turck mmcache with apache2 and mod_php and the dbg

i have 2 Problems when i add the -D PHP4 to /etc/conf.d/apache2

1. the Turckcache is incompatible with the DBG ( dev-php/phpdbg )
   when i start the apache there are no erros but he won't do anything (no data transfer)

2. the ebuild adds extension=mmcache.so AND zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so
   but only one of this is allowed or apache wont run because of mmcache error


add !dev-php/phpdbg to DEPEND for the first error and
remove one of the PHP_EXT_* vars i prefer to remove  PHP_EXT_ZENDEXT="yes" for the 2nd error

Reproducible: Always
Steps to Reproduce:
1. emerge apache2 phpdbg and turck-mmcache
2. add turck config options to the php.ini
3. add the dbg config options to the php.ini
4. /etc/init.d/apache2 start
5. look in to /var/log/apache2/error_log




bash-2.05b# emerge info
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config  /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ 
ftp://sunsite.informatik.rwth-aac hen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/downlaod/gentoo-mirror/ ftp://linux
.rz.ruhr-uni-bochum.de/gentoo-mirror
http://mirors.sec.informatik.tu-darmstadt.de/gentoo http:
//ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm
gif gnome gpm gt k gtk2 imap imlib ipv6 java jpeg libg++ libwww mad maildir
mikmod motif mozilla mpeg mysql ncu rses nls oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline sasl sdl slang  spell ssl svga tcltk tcpd
truetype x86 xml2 xmms xv zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-24 18:35:03 UTC
please test mmcache 2.4.6 
the zend_extension vs. extension should be fixed.

if it works for you (i dunno about the dbg part) then i'll mark it stable.
Comment 2 Martin Holzhauer 2004-01-25 04:10:40 UTC
ok the 2.4.6 ebuil only add one extension but when i load phpdbg apache start wihtout error but dont transfer any data

when i remove extension=dbg.so from the php.ini apache start an transfer data
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-25 04:47:18 UTC
hmm, i'm wondering what the best solution is.
i have both of them installed now, and i can flip between them easily (and i see a lot of use for phpdbg at times).

i'll see about having it leave phpdbg commented out in the php.ini as a default, since it breaks turck.
Comment 4 Martin Holzhauer 2004-05-23 15:58:46 UTC
i tried to test turck Cache 2.4.6 with phpdbg 2.11.23
the officail release notes say Experimental Support for DBG since turck 2.4.5 but the same error when load phpdbg and Truck cache no PHP Sites will load
the Apache Error log says:
 Turck MMCache 2.4.6 can not be loaded twich in Unknown on line 0

i test the same turck with xdebug and no problems so i use xdebug now
Comment 5 Dmitri Dmitrienko 2004-09-11 17:51:52 UTC
try to load dbg using the following statement
zend_extension=/path/to/dbg.so
instead of extension=dbg.so
this line should appear the first, before mmcache and before any other Zend's extensions like zend optimizer.
I'd also recommend to use the same line for mmcache itself (e.g. zend_extension=/path/to/mmcache.so).
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-26 21:38:41 UTC
moving this to php-bugs so we don't miss it.

submitter: is this still an issue?
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-08 17:28:17 UTC
no response from submitter.