public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  php4 vs php5
@ 2006-03-15  1:35 James
  2006-03-15  1:59 ` JimD
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: James @ 2006-03-15  1:35 UTC (permalink / raw
  To: gentoo-user

Hello,

I've installed php4 as needed by a package (JFFNMS). Everytime I run 
a 'emerge -uDp world' It wants to upgrade the php4 to either php5
or another form of php4. This gets a little confusing, so I'll try
to be very clear. I do not have php5 installed, and I do not want
php5 installed on this system. I've tried all sorts of machinations
in the /etc/portage dir, without success.

Here's what I have installed:

dev-lang/php
     Available versions:  4.3.11-r5 4.4.1-r3 ~4.4.2 [M]5.0.5-r5 [M]5.1.2
     Installed:           none

dev-php/mod_php
Installed:           4.4.0-r9

dev-php/php
Installed:           4.4.0-r4


So I've tried various entries in my /etc/portage/package.mask file to get the
system happy. package.mask contains:
'>=dev-lang/php-5.0.5'

Focusing on php, I run  'emerge -pv dev-lang/php'
and here is the response.

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
[blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.2)
[ebuild  N    ] dev-lang/php-4.4.2 

So the question is what do I put in /etc/portage/? file to get
the system to accept the older dev-php files and not try to install
'dev-lang/php' ?

I cannot just install 'dev-lang/php' as it is blocked by the (2)
dev-php files that I need:
dev-php/mod_php and dev-php/php. Of coarse, take what I'm saying 
with a grain of salt, as I'm describing the symptoms of a php
problem without fully understandings what these package name/group
changes really mean...(where does one read about what the developers
are doing with php and why?). 
jffnms is the critical package here that is causing the php heartburn.....

Everythings works, I just want the system to quit asking to upgrade
php, everytime I upgrade the rest of the system.

ideas?  What did I miss?


James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  php4 vs php5
  2006-03-15  1:35 [gentoo-user] php4 vs php5 James
@ 2006-03-15  1:59 ` JimD
  2006-03-15  2:00 ` Michael Stewart (vericgar)
  2006-03-15  2:11 ` kashani
  2 siblings, 0 replies; 11+ messages in thread
From: JimD @ 2006-03-15  1:59 UTC (permalink / raw
  To: gentoo-user

On Wed, 15 Mar 2006 01:35:27 +0000 (UTC)
James <wireless@tampabay.rr.com> wrote:

> [blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
> [blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.2)
> [ebuild  N    ] dev-lang/php-4.4.2

You want to remove dev-php/mod_php and dev-php/php.  Php 4 and php 5 is
in dev-lang/php-XXX.  dev-lang will also build your apache module for
you.

I made the same mistake at first.  I installed mod_php, though I wanted
php5 and couldn't get it to install with mod_php.

Once I instlled dev-lang/php everything worked out.  Just do and emerge
-pv first to make sure you have all the use flags you want.


 Jim
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  php4 vs php5
  2006-03-15  1:35 [gentoo-user] php4 vs php5 James
  2006-03-15  1:59 ` JimD
@ 2006-03-15  2:00 ` Michael Stewart (vericgar)
  2006-03-15  2:11 ` kashani
  2 siblings, 0 replies; 11+ messages in thread
From: Michael Stewart (vericgar) @ 2006-03-15  2:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2576 bytes --]

James wrote:
> Hello,
> 
> I've installed php4 as needed by a package (JFFNMS). Everytime I run 
> a 'emerge -uDp world' It wants to upgrade the php4 to either php5
> or another form of php4. This gets a little confusing, so I'll try
> to be very clear. I do not have php5 installed, and I do not want
> php5 installed on this system. I've tried all sorts of machinations
> in the /etc/portage dir, without success.
> 
> Here's what I have installed:
> 
> dev-lang/php
>      Available versions:  4.3.11-r5 4.4.1-r3 ~4.4.2 [M]5.0.5-r5 [M]5.1.2
>      Installed:           none
> 
> dev-php/mod_php
> Installed:           4.4.0-r9
> 
> dev-php/php
> Installed:           4.4.0-r4
> 
> 
> So I've tried various entries in my /etc/portage/package.mask file to get the
> system happy. package.mask contains:
> '>=dev-lang/php-5.0.5'
> 
> Focusing on php, I run  'emerge -pv dev-lang/php'
> and here is the response.
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
> [blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.2)
> [ebuild  N    ] dev-lang/php-4.4.2 
> 
> So the question is what do I put in /etc/portage/? file to get
> the system to accept the older dev-php files and not try to install
> 'dev-lang/php' ?
> 
> I cannot just install 'dev-lang/php' as it is blocked by the (2)
> dev-php files that I need:
> dev-php/mod_php and dev-php/php. Of coarse, take what I'm saying 
> with a grain of salt, as I'm describing the symptoms of a php
> problem without fully understandings what these package name/group
> changes really mean...(where does one read about what the developers
> are doing with php and why?). 
> jffnms is the critical package here that is causing the php heartburn.....
> 
> Everythings works, I just want the system to quit asking to upgrade
> php, everytime I upgrade the rest of the system.
> 
> ideas?  What did I miss?
> 
> 
> James
> 
> 
> 

If you are going to change from the old-style PHP (dev-php/php) to the
new-style PHP (dev-lang/php), then you need to follow the PHP upgrading
instructions on this page:

http://www.gentoo.org/proj/en/php/php-upgrading.xml

I highly suggest it, as IIRC the old-style PHP is no longer supported.


-- 
Michael Stewart                                     vericgar@gentoo.org
Gentoo Developer                        http://dev.gentoo.org/~vericgar

GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
--


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  php4 vs php5
  2006-03-15  1:35 [gentoo-user] php4 vs php5 James
  2006-03-15  1:59 ` JimD
  2006-03-15  2:00 ` Michael Stewart (vericgar)
@ 2006-03-15  2:11 ` kashani
  2006-03-15  3:35   ` [gentoo-user] " James
  2 siblings, 1 reply; 11+ messages in thread
From: kashani @ 2006-03-15  2:11 UTC (permalink / raw
  To: gentoo-user

James wrote:
> Calculating dependencies ...done!
> [blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
> [blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.2)
> [ebuild  N    ] dev-lang/php-4.4.2 


dev-php is on it's way out and has not been updated in some time. You're 
likely vulnerable at this moment.


> So the question is what do I put in /etc/portage/? file to get
> the system to accept the older dev-php files and not try to install
> 'dev-lang/php' ?

You don't. You remove dev-php and install dev-lang/php when you have 
some time to deal with change. I had no issues moving from dev-php to 
dev-lang/php with 4.4.x and the whole thing took about 30 minutes. 
Didn't even have downtime as Apache had the old module cached until I 
stopped and started to pick up the new build.

However PHP USE flags have gotten a bit more complex. You'll want apache 
(or apache2), cli for the php commandline binary, and session at minimum 
plus anything else you might need.

kashani
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: php4 vs php5
  2006-03-15  2:11 ` kashani
@ 2006-03-15  3:35   ` James
  2006-03-15  3:45     ` kashani
  2006-03-15  9:03     ` Neil Bothwick
  0 siblings, 2 replies; 11+ messages in thread
From: James @ 2006-03-15  3:35 UTC (permalink / raw
  To: gentoo-user

kashani <kashani-list <at> badapple.net> writes:

> 
> James wrote:
> > Calculating dependencies ...done!
> > [blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
> > [blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.2)
> > [ebuild  N    ] dev-lang/php-4.4.2 
> 
> dev-php is on it's way out and has not been updated in some time. You're 
> likely vulnerable at this moment.

Um, I must not have been clear. JFFNMS is critical. It requires php4.
so upgrading to php5 is NOT an option, until the JFFNMS devs move
to php5.

All I need is to figure out how to get 'emerge -uDp world'
to quit asking to upgrade php.

I have many systems. Keeping one at php4 so I can run JFFNMS until
it is upgraded to php5, is not a problem on my network. 

Ideas/syntax to get a gentoo server to quit asking to upgrade php
is what I need to know, not why I should upgrade to php5. I hope this
explains my questions more in detail, without offending anyone?


James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: php4 vs php5
  2006-03-15  3:35   ` [gentoo-user] " James
@ 2006-03-15  3:45     ` kashani
  2006-03-15  9:03     ` Neil Bothwick
  1 sibling, 0 replies; 11+ messages in thread
From: kashani @ 2006-03-15  3:45 UTC (permalink / raw
  To: gentoo-user

James wrote:
> kashani <kashani-list <at> badapple.net> writes:
> 
>> James wrote:
>>> Calculating dependencies ...done!
>>> [blocks B     ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
>>> [blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.2)
>>> [ebuild  N    ] dev-lang/php-4.4.2 
>> dev-php is on it's way out and has not been updated in some time. You're 
>> likely vulnerable at this moment.
> 
> Um, I must not have been clear. JFFNMS is critical. It requires php4.
> so upgrading to php5 is NOT an option, until the JFFNMS devs move
> to php5.

Since it wants to install 4.4.2 I figured your package.mask was good. If 
not use this.

echo ">=dev-lang/php-5" >> /etc/portage/package.mask

Then it's pretty much remove the dev-php php4 packages and install the 
dev-lang php4 package like I mentioned before.

kashani
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: php4 vs php5
  2006-03-15  3:35   ` [gentoo-user] " James
  2006-03-15  3:45     ` kashani
@ 2006-03-15  9:03     ` Neil Bothwick
  2006-03-15 16:32       ` James
  2006-03-16  1:34       ` kashani
  1 sibling, 2 replies; 11+ messages in thread
From: Neil Bothwick @ 2006-03-15  9:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

On Wed, 15 Mar 2006 03:35:49 +0000 (UTC), James wrote:

> > dev-php is on it's way out and has not been updated in some time.
> > You're likely vulnerable at this moment.
> 
> Um, I must not have been clear. JFFNMS is critical. It requires php4.
> so upgrading to php5 is NOT an option, until the JFFNMS devs move
> to php5.

Yes, but you need dev-lang/php-4*, not dev-php/php-4*. Unmerge the
blockers and dev-lang/php-4* will emerge. You don't need mod_php anymore,
it is provided by the apache(2) USE flags of dev-lang/php.

If the JFFNMS ebuild explicitly depends on dev-php/php, it is broken.
file a bug and add it to /etc/portage/profile/package.provided to work
around it until it is fixed (or fix the ebuild yourself).


-- 
Neil Bothwick

Another casualty of applied metaphysics.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: php4 vs php5
  2006-03-15  9:03     ` Neil Bothwick
@ 2006-03-15 16:32       ` James
  2006-03-16  1:34       ` kashani
  1 sibling, 0 replies; 11+ messages in thread
From: James @ 2006-03-15 16:32 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil <at> digimed.co.uk> writes:


> > > dev-php is on it's way out and has not been updated in some time.
> > > You're likely vulnerable at this moment.

> > Um, I must not have been clear. JFFNMS is critical. It requires php4.
> > so upgrading to php5 is NOT an option, until the JFFNMS devs move
> > to php5.

> Yes, but you need dev-lang/php-4*, not dev-php/php-4*. Unmerge the
> blockers and dev-lang/php-4* will emerge. You don't need mod_php anymore,
> it is provided by the apache(2) USE flags of dev-lang/php.

> If the JFFNMS ebuild explicitly depends on dev-php/php, it is broken.
> file a bug and add it to /etc/portage/profile/package.provided to work
> around it until it is fixed (or fix the ebuild yourself).


OK, thanks for all the input. I'll let you guys  know what I figure out, and 
post if any questions that arise.

Thanks guys,

James





-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: php4 vs php5
  2006-03-15  9:03     ` Neil Bothwick
  2006-03-15 16:32       ` James
@ 2006-03-16  1:34       ` kashani
  2006-03-16 17:36         ` James
  1 sibling, 1 reply; 11+ messages in thread
From: kashani @ 2006-03-16  1:34 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> Yes, but you need dev-lang/php-4*, not dev-php/php-4*. Unmerge the
> blockers and dev-lang/php-4* will emerge. You don't need mod_php anymore,
> it is provided by the apache(2) USE flags of dev-lang/php.
> 
> If the JFFNMS ebuild explicitly depends on dev-php/php, it is broken.
> file a bug and add it to /etc/portage/profile/package.provided to work
> around it until it is fixed (or fix the ebuild yourself).

	It looks like jffnms just hit portage at large on Monday.  Still 
masked, but it's in there. Assuming James is using this version it seems 
happy to use to dev-lang/php-4.4.2

On a side note, didn't jffnms want java serverlets or some nonsense in 
the past? I seem to recall looking at it and then dropping it due to the 
requirements.

kashani
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: php4 vs php5
  2006-03-16  1:34       ` kashani
@ 2006-03-16 17:36         ` James
  2006-03-16 18:18           ` kashani
  0 siblings, 1 reply; 11+ messages in thread
From: James @ 2006-03-16 17:36 UTC (permalink / raw
  To: gentoo-user

kashani <kashani-list <at> badapple.net> writes:


> Neil Bothwick wrote:
> > Yes, but you need dev-lang/php-4*, not dev-php/php-4*. Unmerge the
> > blockers and dev-lang/php-4* will emerge. You don't need mod_php anymore,
> > it is provided by the apache(2) USE flags of dev-lang/php.

> > If the JFFNMS ebuild explicitly depends on dev-php/php, it is broken.
> > file a bug and add it to /etc/portage/profile/package.provided to work
> > around it until it is fixed (or fix the ebuild yourself).

> 	It looks like jffnms just hit portage at large on Monday.  Still 
> masked, but it's in there. Assuming James is using this version it seems 
> happy to use to dev-lang/php-4.4.2

Well, I have gotten delayed, but when I get a few things done, I'll test
the latest JFFNMS with dev-lang/php-4.4.2. One of the devs has worked
on it, quite a lot lately. If more folks install JFFNMS and use it, we're
more likely to get better support from the devs.

> On a side note, didn't jffnms want java serverlets or some nonsense in 
> the past? I seem to recall looking at it and then dropping it due to the 
> requirements.

It has undergone many changes, as it is quite fluid as NMS. The website states
that it runs on PHP5 also, but, I have not had time to drill down into the
details. What's your adversion to Java Serverlets? (just curious).

James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user]  Re: php4 vs php5
  2006-03-16 17:36         ` James
@ 2006-03-16 18:18           ` kashani
  0 siblings, 0 replies; 11+ messages in thread
From: kashani @ 2006-03-16 18:18 UTC (permalink / raw
  To: gentoo-user

James wrote:
> It has undergone many changes, as it is quite fluid as NMS. The website states
> that it runs on PHP5 also, but, I have not had time to drill down into the
> details. What's your adversion to Java Serverlets? (just curious).

	Never needed them so I don't know much about tuning them, Java based 
apps have used more than their fair share of the system in my past 
experience, and mod_jk or whatever at the time was a pain in the ass to 
install/get to work. Didn't seem to be worth the trouble when Nagios was 
in portage and pretty much did what I wanted.

kashani
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-03-16 18:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15  1:35 [gentoo-user] php4 vs php5 James
2006-03-15  1:59 ` JimD
2006-03-15  2:00 ` Michael Stewart (vericgar)
2006-03-15  2:11 ` kashani
2006-03-15  3:35   ` [gentoo-user] " James
2006-03-15  3:45     ` kashani
2006-03-15  9:03     ` Neil Bothwick
2006-03-15 16:32       ` James
2006-03-16  1:34       ` kashani
2006-03-16 17:36         ` James
2006-03-16 18:18           ` kashani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox