Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Il php mi si compila senza supporto per il mysql.
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
TeoBì
Apprentice
Apprentice


Joined: 31 May 2004
Posts: 150

PostPosted: Tue Jun 08, 2004 8:54 pm    Post subject: [RISOLTO] Il php mi si compila senza supporto per il mysql. Reply with quote

Ciao Ragazzi,
ho installato l'apache2, il php e mysql. Sono riuscito a far partire l'apache2 con il modulo php che funziona perfettamente; però nel php provando a dare comandi per accedere al mysql mi viene dato il seguente errore:
Code:
 Fatal error: Call to undefined function: mysql_connect()

quindi ho controllato con il phpinfo() e ho visto che il php è stato compilato senza supporto per il mysql
Code:
'--without-mysql'
; c'è un modo per fare compilare php con emerge con il supporto per il mysql oppure bisogna per forza compilarlo manualmente?

Grazie in anticipo per l'aiuto, ciuaz.


Last edited by TeoBì on Wed Jun 09, 2004 8:39 am; edited 1 time in total
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Jun 08, 2004 8:56 pm    Post subject: Reply with quote

L'hai compilato con mysql tra le USE?
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue Jun 08, 2004 9:02 pm    Post subject: Reply with quote

posso darti un vivo consiglio se già nn l'avevi ricevuto:
Code:
# emerge ufed
# ufed

da lì vedi le flag di USE (se nn hai idea di cosa siano ti consiglio il manuale utente di portage disponibile in italiano tra i documenti di www.gentoo.org)
inoltre la prossima volta che vuoi emergere qualcosa controlla le flag che verranno passate al ./configure per i singoli pacchetti con:
Code:
# emerge --pretend --verbose <nomepacchetto>

in aggiunta al manuale utente di portage di uso immediato è
Code:
# man emerge


;) buon divertimento
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
kaio
Apprentice
Apprentice


Joined: 26 Aug 2003
Posts: 293
Location: Gorizia - IT

PostPosted: Wed Jun 09, 2004 6:49 am    Post subject: Reply with quote

Code:
USE="mysql" emerge mod_php
Back to top
View user's profile Send private message
flyinspirit001
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 266
Location: localhost,localdomain

PostPosted: Wed Jun 09, 2004 6:58 am    Post subject: Reply with quote

azz ufed non lo cvonoscevo...ottima conziglio

danke!
_________________
"Ride the infinity, be your best. For you, for all"
Dungeon01 - linux registered user #362502
Back to top
View user's profile Send private message
TeoBì
Apprentice
Apprentice


Joined: 31 May 2004
Posts: 150

PostPosted: Wed Jun 09, 2004 8:38 am    Post subject: Reply with quote

Grazie mille per la dritte, come al solito ne sapete una + del diavolo :twisted:

Ciao a tutti. :D
Back to top
View user's profile Send private message
kaio
Apprentice
Apprentice


Joined: 26 Aug 2003
Posts: 293
Location: Gorizia - IT

PostPosted: Wed Jun 09, 2004 9:49 am    Post subject: Reply with quote

TeoBì wrote:
Grazie mille per la dritte, come al solito ne sapete una + del diavolo :twisted:

Ciao a tutti. :D

Eggià qua ci sono un sacco di persone disponibili e preparate!
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