Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] mod_php 4 and 5 on 1 system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 502

PostPosted: Sat Feb 11, 2006 8:03 pm    Post subject: [solved] mod_php 4 and 5 on 1 system Reply with quote

i want to have mod_php 4 and 5 installed on one machine
use .php for version 4
and .php5 for version 5

i know how to configure apache, but i don't know how to have multiple versions installed

can anyone help please`?


Last edited by dalu on Sun Feb 12, 2006 12:22 am; edited 1 time in total
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sat Feb 11, 2006 8:23 pm    Post subject: Reply with quote

Use dev-lang/php
_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 502

PostPosted: Sat Feb 11, 2006 8:51 pm    Post subject: Reply with quote

yeah, but how do i do it?
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sat Feb 11, 2006 8:54 pm    Post subject: Reply with quote

emerge dev-lang/php-4.4.1-r3 and dev-lang/php-5.0.5-r5 and adjust their configs.
_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 502

PostPosted: Sat Feb 11, 2006 9:37 pm    Post subject: Reply with quote

alright thanks, and lets say i wanted to update both in a few weeks?
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sat Feb 11, 2006 9:42 pm    Post subject: Reply with quote

dalu wrote:
alright thanks, and lets say i wanted to update both in a few weeks?

They are SLOTed - you'll end up with one version for 4* and one for 5*.
_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 502

PostPosted: Sat Feb 11, 2006 9:57 pm    Post subject: Reply with quote

i still don't know how to update
4
5
4 & 5

emerge -uv >=dev-lang/php-4
emerge -uv >=dev-lang/php-5
emerge -uv >=dev-lang/php-4 >=dev-lang/php-5

?
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sat Feb 11, 2006 10:27 pm    Post subject: Reply with quote

dalu wrote:
i still don't know how to update
4
5
4 & 5

emerge -uv >=dev-lang/php-4
emerge -uv >=dev-lang/php-5
emerge -uv >=dev-lang/php-4 >=dev-lang/php-5

?


Hm.. ok, to have php-4 and php-5:

Code:
emerge -av '=dev-lang/php-4*' '=dev-lang/php-5*'


And if you want to update, then simply:

Code:
emerge -uavDNt world

_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 502

PostPosted: Sat Feb 11, 2006 10:58 pm    Post subject: Reply with quote

thank you very much

4+5 didn't work, so i'm just using 5 now, no problems so far
only 4+5 together didn't work
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Feb 21, 2006 10:25 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this topic.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum