Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145267 - the peruser mpm is missing from the dev-lang/php
Summary: the peruser mpm is missing from the dev-lang/php
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-27 09:36 UTC by Csaba Tóth
Modified: 2006-08-27 13:26 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 Csaba Tóth 2006-08-27 09:36:11 UTC
I can use the peruser mpm with the apache (2.2), but it is not in the supported list in the php (5.1) ebuild. Please put it in, so i should not modify the php's ebuild file when i wish to reinstall it.

PHP 5.1 works well with the Apache 2.2 and peruser MPM.

my emerge info:

Portage 2.1.1_rc1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1-minerva-10 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r1-minerva-10 x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.12.4
Last Sync: Sun, 27 Aug 2006 09:50:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -msse -msse2 -mmmx -finline-functions -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -msse -msse2 -mmmx -finline-functions -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://gentoo.inf.elte.hu/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.osuosl.org/"
LANG="hu_HU.utf8"
LC_ALL="hu_HU.utf8"
LDFLAGS="-Wl,-z,now -Wl,-z,relro"
LINGUAS="hu en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://juno.tsabi.hu/gentoo-portage"
USE="amd64 X aac accounting acl acpi acpi4linux activefilter adns apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib c++ calendar cap caps cdparanoia cdr cdrom chroot clamac clamav cli cracklib crypt ctype cups curl curlwrappers cyrus dba dbase dbm dbus devfs devfs26 devmap dhcp dio dlloader dmx dnd dnsdb dv dvb dvd dvdr dvdread eds elibc_glibc emboss encode erandom escreen ethereal evms2 exif expat extensions f2c fam fastcgi flac foomaticdb fortran freetype fs ftp gcj gd geoip gif gmp gnutls gpm gstreamer gtk gtk2 hal iconv idled image imagemagick imap imlib inifile innodb input_devices_keyboard input_devices_mouse input_devices_vmmouse intl ipv6 isdnlog javascript jikes jpeg jpeg2k kde kernel_linux lesstif libg++ linguas_en linguas_hu live lm_sensors logrotate lzo lzw lzw-tiff memlimit mhash mime mmap mmx2 mng mp3 mpeg mpeg4 mpm-worker mppe-mppc msdav msession mudflap ncurses nethack network nls nptl nptlonly ntlm oav objc oggvorbis openal opengl openssh pam parse-clocks pcap pcntl pcre pdf pdflib perl pg-vacuumdelay php pic png pnp posix pppd pthreads pwdb python qt3 qt4 quicktime readline recode reflection rpc sasl sdl session sftplogging shared sharedmem simplexml skey slang smime sms sockets spell spl squid ssl svg symlink sysvipc tcl tcltk tcpd threads tiff transcode truetype truetype-fonts type1 type1-fonts underscores unicode usb userland_GNU userlocales vhosts video_cards_fbdev video_cards_none video_cards_s3 video_cards_v4l video_cards_vesa video_cards_vga video_cards_vmware virus-scan wmf xfs xinetd xml xmlrpc xorg xpm xprint xv zero-penalty-hit zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-27 09:44:01 UTC
Don't see what you mean, sorry. And, peruser is NOT safe w/ USE=threads. You need to explain your problem better.
Comment 2 Csaba Tóth 2006-08-27 10:30:31 UTC
You right! Me sorry :)
But than the apache why allow me to compile and install the peruser mpm with threading enabled? I think it should be warn me, or better dont allow me like the php does! :) (i dont remember i was warned or noticed.)
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-08-27 11:17:02 UTC
The threads USE-flag is only used when you don't specify a mpm USE-flag. It does not check to see whether an mpm is thread safe or not. The threads USE-flag is only there to choose a default MPM if you don't specify one for yourself. USE=threads can be considered to be the same as USE=mpm-worker for the apache ebuild.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-27 11:20:19 UTC
@vericgar - this in NOTABUG from PHP point of view. If there's nothing to do on your side, please close accordingly.
Comment 5 Csaba Tóth 2006-08-27 11:47:06 UTC
Than im confused now.
I believe that the "threads" use flag means something at compile for the apache, because if it is disabled (but an mpm selected with use flag), and i try to install php with threading enabled, than it asks me to compile apache with threading enabled. But u r right, my original problem is not a real bug.
Comment 6 Csaba Tóth 2006-08-27 11:52:37 UTC
Hmm, if it doesnt matter there is the "threads" use flag or not at the apache Ebuild, than why the PHP Ebuild look at that flag and asks me to turn it on or off?
The logic in the PHP Ebuild, or the configure flags in the apache ebuild should be wrong.
So i reopened this bug.
Comment 7 Luca Longinotti (RETIRED) gentoo-dev 2006-08-27 12:10:20 UTC
Uhh no this is all correct ?!?
The PHP ebuild works like this:
if its "threads" USE flag is on, it checks that Apache2 was compiled with one of its threaded MPMs: mpm-event, mpm-worker, mpm-threadpool, etc.
if the "threads" USE flag is off, it checks that Apache2 was compiled with one of its non-threaded MPMs: mpm-itk, mpm-peruser, mpm-prefork
This is correct. Also the "logic" of the dev-lang/php "threads" USE flag has nothing to do with how the "threads" and "mpm-*" USE flags behave in Apache2, those are two different packages.
Best regards, CHTEKK.
Comment 8 Csaba Tóth 2006-08-27 13:26:50 UTC
You right.
Ahh, lol, sorry guys, today was not my day :S