Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] PHP4 + mysql4: possibile?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Gr3yFox
Apprentice
Apprentice


Joined: 11 May 2006
Posts: 218
Location: Genoa, Italy

PostPosted: Mon Dec 18, 2006 7:24 pm    Post subject: [risolto] PHP4 + mysql4: possibile? Reply with quote

Dovrei realizzare per un corso dell'università un progetto php+mysql. Il server sul quale alla fine dovrà funzionare il progetto sarà configurato con mysql 4.0.24 e php 4.3.10.
Per questo volevo installare qui sulla mia gentoo a casa php4.4 e mysql4.1 (le versioni non coincidono proprio ma essendo la major uguale presumo non ci siano problemi di compatibilità del codice e del db).
Per quanto riguarda php4 sarebbe tutto a posto (emerge =php-4.4.4-r6, mascherate le successive) ma a quanto pare come dipendenza si tira dietro mysql 5... c'è modo di mettere lo stesso il 4 senza avere problemi? In caso contrario, cosa mi proponete di fare?
_________________
GreyFox (Linux registered user #435102)
greyfox.imente.org - GreyFox's shots (photoblog)


Last edited by Gr3yFox on Mon Dec 18, 2006 8:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sparker
l33t
l33t


Joined: 28 Aug 2003
Posts: 992

PostPosted: Mon Dec 18, 2006 7:37 pm    Post subject: Reply with quote

Io installerei prima mysql-4 (magari mascherando le versioni >=5.0, echo ">=dev-db/mysql-5.0" >> /etc/portage/package.mask)
Back to top
View user's profile Send private message
Gr3yFox
Apprentice
Apprentice


Joined: 11 May 2006
Posts: 218
Location: Genoa, Italy

PostPosted: Mon Dec 18, 2006 7:39 pm    Post subject: Reply with quote

Provato mascherando come dici tu, ma purtroppo non sembra risolvere.

Quote:
!!! All ebuilds that could satisfy "=dev-db/mysql-5.0*" have been masked.

_________________
GreyFox (Linux registered user #435102)
greyfox.imente.org - GreyFox's shots (photoblog)
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Mon Dec 18, 2006 7:49 pm    Post subject: Reply with quote

Devi mascherare anche il virtual di mysql, quindi (es.)
Code:

echo '>=virtual/mysql-5' >> /etc/portage/package.mask


Oppss... :P
[EDIT]
s/keywords/mask
[/EDIT]
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny


Last edited by Scen on Mon Dec 18, 2006 7:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gr3yFox
Apprentice
Apprentice


Joined: 11 May 2006
Posts: 218
Location: Genoa, Italy

PostPosted: Mon Dec 18, 2006 7:51 pm    Post subject: Reply with quote

hai confuso keywords con mask :)

edit: cmq ora funziona grazie mille. Una curiosità... questa cosa del mascherare le versioni successive in che casi si può applicare?
_________________
GreyFox (Linux registered user #435102)
greyfox.imente.org - GreyFox's shots (photoblog)
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Mon Dec 18, 2006 8:01 pm    Post subject: Reply with quote

Azz, scusami per l'errore, chiedo venia :oops:

Il mascheramento delle versioni successive può servire nel caso non si voglia effettuare l'upgrade di un determinato pacchetto all'ultima versione stabile per diversi motivi.

Tieni presente che, nel momento in cui la versione che hai mascherato diventa dipendenza di un pacchetto installato, riceverai l'errore in fase di aggiornamento di world, e dovrai provvedere a smascherarla!

p.s. se il tuo problema è risolto aggiungi [OK] o [RISOLTO al titolo del topic! 8)
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Gr3yFox
Apprentice
Apprentice


Joined: 11 May 2006
Posts: 218
Location: Genoa, Italy

PostPosted: Mon Dec 18, 2006 8:07 pm    Post subject: Reply with quote

Circa l'errore di prima figurati, può succedere, non c'è nessun problema.
Grazie per la delucidazione sul mascheramento :)

(Il tag risolto l'ho aggiunto poco dopo la risposta di prima, mi ero dimenticato)
_________________
GreyFox (Linux registered user #435102)
greyfox.imente.org - GreyFox's shots (photoblog)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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