Gentoo Archives: gentoo-user

From: "Michael Stewart (vericgar)" <vericgar@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] php4 vs php5
Date: Wed, 15 Mar 2006 02:08:51
Message-Id: 4417753F.3040606@gentoo.org
In Reply to: [gentoo-user] php4 vs php5 by James
1 James wrote:
2 > Hello,
3 >
4 > I've installed php4 as needed by a package (JFFNMS). Everytime I run
5 > a 'emerge -uDp world' It wants to upgrade the php4 to either php5
6 > or another form of php4. This gets a little confusing, so I'll try
7 > to be very clear. I do not have php5 installed, and I do not want
8 > php5 installed on this system. I've tried all sorts of machinations
9 > in the /etc/portage dir, without success.
10 >
11 > Here's what I have installed:
12 >
13 > dev-lang/php
14 > Available versions: 4.3.11-r5 4.4.1-r3 ~4.4.2 [M]5.0.5-r5 [M]5.1.2
15 > Installed: none
16 >
17 > dev-php/mod_php
18 > Installed: 4.4.0-r9
19 >
20 > dev-php/php
21 > Installed: 4.4.0-r4
22 >
23 >
24 > So I've tried various entries in my /etc/portage/package.mask file to get the
25 > system happy. package.mask contains:
26 > '>=dev-lang/php-5.0.5'
27 >
28 > Focusing on php, I run 'emerge -pv dev-lang/php'
29 > and here is the response.
30 >
31 > These are the packages that I would merge, in order:
32 >
33 > Calculating dependencies ...done!
34 > [blocks B ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
35 > [blocks B ] dev-php/php (is blocking dev-lang/php-4.4.2)
36 > [ebuild N ] dev-lang/php-4.4.2
37 >
38 > So the question is what do I put in /etc/portage/? file to get
39 > the system to accept the older dev-php files and not try to install
40 > 'dev-lang/php' ?
41 >
42 > I cannot just install 'dev-lang/php' as it is blocked by the (2)
43 > dev-php files that I need:
44 > dev-php/mod_php and dev-php/php. Of coarse, take what I'm saying
45 > with a grain of salt, as I'm describing the symptoms of a php
46 > problem without fully understandings what these package name/group
47 > changes really mean...(where does one read about what the developers
48 > are doing with php and why?).
49 > jffnms is the critical package here that is causing the php heartburn.....
50 >
51 > Everythings works, I just want the system to quit asking to upgrade
52 > php, everytime I upgrade the rest of the system.
53 >
54 > ideas? What did I miss?
55 >
56 >
57 > James
58 >
59 >
60 >
61
62 If you are going to change from the old-style PHP (dev-php/php) to the
63 new-style PHP (dev-lang/php), then you need to follow the PHP upgrading
64 instructions on this page:
65
66 http://www.gentoo.org/proj/en/php/php-upgrading.xml
67
68 I highly suggest it, as IIRC the old-style PHP is no longer supported.
69
70
71 --
72 Michael Stewart vericgar@g.o
73 Gentoo Developer http://dev.gentoo.org/~vericgar
74
75 GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
76 --

Attachments

File name MIME type
signature.asc application/pgp-signature