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"
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.
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
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.
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
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).
moving this to php-bugs so we don't miss it. submitter: is this still an issue?
no response from submitter.