If php5 is installed (~x86 in /etc/portage/package.keywords), but the stable version of apache2 is used, it blocks 'emerge -puv world'. It seems to me that there is no reason to force the user to install the unstable version of apache2 if he just wants mod_php5. At least, it has been working for me until the last emerge sync. These are the packages that I would merge, in order: Calculating world dependencies \ !!! All ebuilds that could satisfy ">=net-www/apache-2.0.52-r3" have been masked. !!! One of the following masked packages is required to complete your request: - net-www/apache-2.0.52-r3 (masked by: ~x86 keyword) - net-www/apache-2.0.53 (masked by: ~x86 keyword) - net-www/apache-2.0.54 (masked by: package.mask, ~x86 keyword) # Christian Parpart <trapni@gentoo.org> # It's not yet released upstream. But on the way ;) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "dev-php/mod_php-5.0.3-r2" [ebuild]) !!! Problem with ebuild dev-php/mod_php-5.0.3-r2 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed.
Probably done to prevent problems like in Bug 88082.
Hm... so what am I supposed to do if I want to use PHP5 but don't want unstable apache?
Vlad, install =dev-php/mod_php-5.0.3 and mask '>dev-php/mod_php-5.0.3' in /etc/portage.package.mask. -r1 and -r2 are for the updated apache, -r0 is for the currently stable apache.
To prevent portage from blocking 'emerge world', I had to put the following lines: =dev-php/mod_php-5.0.3 in /etc/portage/package.unmask >dev-php/mod_php-5.0.3 in /etc/portage/packages.mask The downside of this workaround is that you won't notice updates of mod_php: portage will keep it at version 5.0.3 forever.
Not a bug but "just an annoyance" with the current state of PHP 5 in portage.
I just tried to install php 5.0.4, but it failed with the following message: * The module you are trying to install (mod_php) * will only work with one of the following MPMs: * event metuxmpm peruser worker threadpool * You do not currently have any of these MPMs installed. * Please re-install apache with the correct mpm-* USE flag set. Since the latest stable apache version doesn't have any of these flags, this is an absolutely unnecessary requirement, which makes it impossible to use PHP5 with a stable apache. :-(