public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] php5 upgrade instruction
@ 2006-02-16 23:05 Joseph
  2006-02-16 23:28 ` Roy Wright
  2006-02-16 23:35 ` Andrei Slavoiu
  0 siblings, 2 replies; 9+ messages in thread
From: Joseph @ 2006-02-16 23:05 UTC (permalink / raw
  To: gentoo-user

I just noticed that the PHP5 has been marked stable.
Are the any instruction on how to upgrade from PHP4 to PHP5

Calculating world dependencies ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)

I would like to get it right the first time.
Most likely I need to change in:
/etc/conf.d/apache2 to
"APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5 -D SSL"".

Though, what is the right sequence?
Do I need any aditional USE Flages in make.conf  like: "cli"
Do I need to recompile apache, unmerge PHP4 etc.?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] php5 upgrade instruction
  2006-02-16 23:05 [gentoo-user] php5 upgrade instruction Joseph
@ 2006-02-16 23:28 ` Roy Wright
  2006-02-17  2:18   ` Joseph
  2006-02-17 20:22   ` A. Khattri
  2006-02-16 23:35 ` Andrei Slavoiu
  1 sibling, 2 replies; 9+ messages in thread
From: Roy Wright @ 2006-02-16 23:28 UTC (permalink / raw
  To: gentoo-user

Joseph wrote:

>I just noticed that the PHP5 has been marked stable.
>Are the any instruction on how to upgrade from PHP4 to PHP5
>
>  
>

http://www.gentoo.org/proj/en/php/php-upgrading.xml
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] php5 upgrade instruction
  2006-02-16 23:05 [gentoo-user] php5 upgrade instruction Joseph
  2006-02-16 23:28 ` Roy Wright
@ 2006-02-16 23:35 ` Andrei Slavoiu
  1 sibling, 0 replies; 9+ messages in thread
From: Andrei Slavoiu @ 2006-02-16 23:35 UTC (permalink / raw
  To: gentoo-user

--- Joseph <syscon@interbaun.com> wrote:
> I just noticed that the PHP5 has been marked stable.
> Are the any instruction on how to upgrade from PHP4
> to PHP5
Yes there are: http://www.gentoo.org/proj/en/php/php-upgrading.xml

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] php5 upgrade instruction
  2006-02-16 23:28 ` Roy Wright
@ 2006-02-17  2:18   ` Joseph
  2006-02-17 20:22   ` A. Khattri
  1 sibling, 0 replies; 9+ messages in thread
From: Joseph @ 2006-02-17  2:18 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-02-16 at 17:28 -0600, Roy Wright wrote:
> Joseph wrote:
> 
> >I just noticed that the PHP5 has been marked stable.
> >Are the any instruction on how to upgrade from PHP4 to PHP5
> >
> >  
> >
> 
> http://www.gentoo.org/proj/en/php/php-upgrading.xml

Thank you, indeed it was a smooth upgrade.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] php5 upgrade instruction
  2006-02-16 23:28 ` Roy Wright
  2006-02-17  2:18   ` Joseph
@ 2006-02-17 20:22   ` A. Khattri
  2006-02-17 20:44     ` Jarry
  2006-02-17 21:01     ` [gentoo-user] " A. Khattri
  1 sibling, 2 replies; 9+ messages in thread
From: A. Khattri @ 2006-02-17 20:22 UTC (permalink / raw
  To: gentoo-user

On Thu, 16 Feb 2006, Roy Wright wrote:

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


And what if you dont want to upgrade?!


-- 

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] php5 upgrade instruction
  2006-02-17 20:22   ` A. Khattri
@ 2006-02-17 20:44     ` Jarry
  2006-02-17 20:56       ` Maximilian Gaß
  2006-02-17 22:08       ` [gentoo-user] " Harm Geerts
  2006-02-17 21:01     ` [gentoo-user] " A. Khattri
  1 sibling, 2 replies; 9+ messages in thread
From: Jarry @ 2006-02-17 20:44 UTC (permalink / raw
  To: gentoo-user

I'm having also problems with php installation/upgrade:
I need php, php-cgi, php_mod and phpmyadmin. Impossible!

mod_php/php-cgi is still in 4.x version, it installs php
4.x,  and I can not install phpmyadmin because it wants php5.
And php can not be upgraded from 4.x to 5.x, because it is
needed/blocked by php-cgi and mod_php. How to get out of this?

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



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

* Re: [gentoo-user] php5 upgrade instruction
  2006-02-17 20:44     ` Jarry
@ 2006-02-17 20:56       ` Maximilian Gaß
  2006-02-17 22:08       ` [gentoo-user] " Harm Geerts
  1 sibling, 0 replies; 9+ messages in thread
From: Maximilian Gaß @ 2006-02-17 20:56 UTC (permalink / raw
  To: gentoo-user

Am Freitag, 17. Februar 2006 21:44 schrieb Jarry:
> I'm having also problems with php installation/upgrade:
> I need php, php-cgi, php_mod and phpmyadmin. Impossible!
>
> mod_php/php-cgi is still in 4.x version, it installs php
> 4.x,  and I can not install phpmyadmin because it wants php5.
> And php can not be upgraded from 4.x to 5.x, because it is
> needed/blocked by php-cgi and mod_php. How to get out of this?
>
> Jarry

mkdir -p /etc/portage/profile
echo "dev-lang/php-5.0.5" >> /etc/portage/profile/package.provided

Portage will think that PHP5 is installed.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] php5 upgrade instruction
  2006-02-17 20:22   ` A. Khattri
  2006-02-17 20:44     ` Jarry
@ 2006-02-17 21:01     ` A. Khattri
  1 sibling, 0 replies; 9+ messages in thread
From: A. Khattri @ 2006-02-17 21:01 UTC (permalink / raw
  To: gentoo-user

On Fri, 17 Feb 2006, A. Khattri wrote:

> On Thu, 16 Feb 2006, Roy Wright wrote:
>
> > >
> >
> > http://www.gentoo.org/proj/en/php/php-upgrading.xml
> >
>
>
> And what if you dont want to upgrade?!

Never mind, I figured it out.

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user] Re: php5 upgrade instruction
  2006-02-17 20:44     ` Jarry
  2006-02-17 20:56       ` Maximilian Gaß
@ 2006-02-17 22:08       ` Harm Geerts
  1 sibling, 0 replies; 9+ messages in thread
From: Harm Geerts @ 2006-02-17 22:08 UTC (permalink / raw
  To: gentoo-user

On Friday 17 February 2006 21:44, Jarry wrote:
> I'm having also problems with php installation/upgrade:
> I need php, php-cgi, php_mod and phpmyadmin. Impossible!
>
> mod_php/php-cgi is still in 4.x version, it installs php
> 4.x,  and I can not install phpmyadmin because it wants php5.
> And php can not be upgraded from 4.x to 5.x, because it is
> needed/blocked by php-cgi and mod_php. How to get out of this?

dev-lang/php is a replacement for dev-php/php-cgi,mod_php,php

dev-lang/php uses USE flags to decide which SAPI's have to be build.
USE="cgi apache2" emerge dev-lang/php
This would merge the php-cgi and mod_php for apache2.

You'll have to set at least one SAPI.
Remember to build dev-lang/php with the same USE flags as you used on mod_php 
and php-cgi.
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-02-17 22:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 23:05 [gentoo-user] php5 upgrade instruction Joseph
2006-02-16 23:28 ` Roy Wright
2006-02-17  2:18   ` Joseph
2006-02-17 20:22   ` A. Khattri
2006-02-17 20:44     ` Jarry
2006-02-17 20:56       ` Maximilian Gaß
2006-02-17 22:08       ` [gentoo-user] " Harm Geerts
2006-02-17 21:01     ` [gentoo-user] " A. Khattri
2006-02-16 23:35 ` Andrei Slavoiu

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