Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi con php e 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
Inoki
n00b
n00b


Joined: 30 Oct 2003
Posts: 39

PostPosted: Sat Nov 15, 2003 4:17 pm    Post subject: problemi con php e mysql Reply with quote

Salve a tutti...
Come parecchi altri in qeusto forum ho il problema di non riuscire a far funzionare mysql e phpmyadmin...

L'errore è quello più volte espresso in questo forum e cioè se provo a far partire ad esempio phpmyadmin mi esce l'errore:
Code:

impossibile caricare l'estensione MySQL,
controlla la configurazione di PHP.
 Documentazione


Ho fatto tutto quello indicato nel forum.
Ho aggiunto:
USE="mysql" al file /etc/make.conf

ho fatto:
#USE="mysql" emerge mod_php

ho fatto:
#USE="mysql" emerge php

Ho riavviato apache ho riavviato mysql.. insomma tutto ciò che è indicato nelle varie discussioni...

Quando lancio il phpinfo(), continuo ad aver nelle impostazioni di configurazione:
Quote:

--without-mysql

:evil:

Non so più dove metter mano.. avete qualche consiglio?
Back to top
View user's profile Send private message
paolo
l33t
l33t


Joined: 23 Jul 2002
Posts: 768
Location: SBT (AP)

PostPosted: Sat Nov 15, 2003 4:25 pm    Post subject: Reply with quote

Consiglio: compilalo a mano. Copia i parametri che vedi nel phpinfo() e dalli in pasto al ./configure. Oppure modifica l'ebuild (sicuramente è colpa sua che non trova il MySQL installato).

Paolo

P.S.: Sei Inoki l'mc della PMC?
_________________
Nihil sine magno labore
Back to top
View user's profile Send private message
Inoki
n00b
n00b


Joined: 30 Oct 2003
Posts: 39

PostPosted: Sat Nov 15, 2003 4:30 pm    Post subject: Reply with quote

paolo wrote:
Consiglio: compilalo a mano. Copia i parametri che vedi nel phpinfo() e dalli in pasto al ./configure. Oppure modifica l'ebuild (sicuramente è colpa sua che non trova il MySQL installato).

Paolo

P.S.: Sei Inoki l'mc della PMC?

AZZ.. no saprei nemmeno da dove iniziare... :?
porca paletta...

Grazie cmq...

p.s.
No.. non sono quello
Back to top
View user's profile Send private message
Gandalf98
Guru
Guru


Joined: 28 Feb 2003
Posts: 472
Location: Loano

PostPosted: Sat Nov 15, 2003 7:13 pm    Post subject: Reply with quote

se fai
Code:
 emerge -pv mod_php
cosa ti dice? Se hai -mysql prova a vedere se in make.conf hai -mysql oltre mysql!! A me è capitato con motif!!
Se non c'è, ma comunque hai -mysql prova con:
Code:
export USE="mysql"
emerge -pv mod_php

ora dovrebbe esserci mysql!!

Cià
Back to top
View user's profile Send private message
Inoki
n00b
n00b


Joined: 30 Oct 2003
Posts: 39

PostPosted: Sat Nov 15, 2003 8:13 pm    Post subject: Reply with quote

Gandalf98 wrote:
se fai
Code:
 emerge -pv mod_php
cosa ti dice? Se hai -mysql prova a vedere se in make.conf hai -mysql oltre mysql!! A me è capitato con motif!!
Se non c'è, ma comunque hai -mysql prova con:
Code:
export USE="mysql"
emerge -pv mod_php

ora dovrebbe esserci mysql!!

Cià

ah già mi sono dimenticato di dire che avevo fatto anche questo.
il risultato è
Code:

+mysql

Sia con:
emerge -pv php
che con:
emerge -pv mod_php :(
Back to top
View user's profile Send private message
Sparker
l33t
l33t


Joined: 28 Aug 2003
Posts: 992

PostPosted: Sat Nov 15, 2003 9:13 pm    Post subject: Reply with quote

Ok, è giusto
devi
1) installare mysql (lo hai fatto)
2) installare apache (ok)
3) installare mod_php, che con +mysql sarà compilato con il supporto a mysql

A me così ha sempre funzionato
Back to top
View user's profile Send private message
innovatel
Apprentice
Apprentice


Joined: 26 Jul 2003
Posts: 176
Location: Italy - Crema (Cr)

PostPosted: Sun Nov 16, 2003 10:20 pm    Post subject: Reply with quote

ciao. guarda QUA

:)
_________________
innovatel's Blog
Back to top
View user's profile Send private message
Inoki
n00b
n00b


Joined: 30 Oct 2003
Posts: 39

PostPosted: Mon Nov 17, 2003 4:29 pm    Post subject: Reply with quote

innovatel wrote:
ciao. guarda QUA

:)

seguito la guida, ho modificato nuovamente /etc/make.conf
in questo modo:
Code:

USE="apache2 mysql php mod_php"


Ho riemerso apache mysql php phpmyadmin mod_php mod_ssl
ancora

--without-mysql
Back to top
View user's profile Send private message
Gandalf98
Guru
Guru


Joined: 28 Feb 2003
Posts: 472
Location: Loano

PostPosted: Mon Nov 17, 2003 4:57 pm    Post subject: Reply with quote

Inoki wrote:
Ho riemerso apache mysql php phpmyadmin mod_php mod_ssl
ancora

--without-mysql


Nonostante
Code:
emerge -pv php
abbia mysql??

Stranissimo, non so che dirti!!

Cià
Back to top
View user's profile Send private message
Inoki
n00b
n00b


Joined: 30 Oct 2003
Posts: 39

PostPosted: Mon Nov 17, 2003 5:00 pm    Post subject: Reply with quote

Gandalf98 wrote:
Inoki wrote:
Ho riemerso apache mysql php phpmyadmin mod_php mod_ssl
ancora

--without-mysql


Nonostante
Code:
emerge -pv php
abbia mysql??

Stranissimo, non so che dirti!!

Cià


Quote:

root@localhost inoki # emerge -pv php

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

Calculating dependencies ...done!
[ebuild R ] dev-php/php-4.3.3-r2 +X +crypt -curl -firebird -flash -freetds -gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp +spell +ssl -tiff +truetype +xml2 +berkdb +readline


Questo è quanto....copia incolla senza alterazioni
Back to top
View user's profile Send private message
Inoki
n00b
n00b


Joined: 30 Oct 2003
Posts: 39

PostPosted: Mon Nov 17, 2003 5:03 pm    Post subject: Reply with quote

questo è il phpinfo();

Quote:

'./configure' '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--without-readline' '--with-apxs2=/usr/sbin/apxs2' '--with-ndbm=/usr' '--with-db4=/usr' '--with-mcrypt=/usr' '--with-mhash=/usr' '--with-gdbm=/usr' '--with-java=/opt/blackdown-jdk-1.4.1' '--without-pgsql' '--with-xpm-dir=/usr/X11R6' '--with-pdflib=/usr' '--without-gd' '--with-png' '--with-png-dir=/usr' '--with-jpeg' '--with-jpeg-dir=/usr' '--enable-exif' '--with-tiff' '--with-tiff-dir=/usr''--without-mysql' '--with-freetype-dir=/usr' '--with-ttf=/usr' '--with-t1lib=/usr' '--with-gettext' '--with-qtdom=/usr/qt/3' '--with-pspell=/usr' '--with-openssl=/usr' '--without-imap' '--without-ldap' '--with-dom=/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--without-kerberos' '--with-pam' '--disable-memory-limit' '--disable-ipv6' '--without-curl' '--disable-dbx' '--with-zlib' '--with-zlib-dir=/usr' '--with-sablot=/usr' '--enable-xslt' '--with-xslt-sablot' '--with-xmlrpc' '--enable-wddx' '--with-xml' '--enable-mbstring=all' '--enable-mbregex' '--with-bz2=/usr' '--with-crack=/usr' '--with-cdb' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-filepro' '--enable-ftp' '--with-mime-magic' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvipc' '--with-iconv' '--enable-shmop' '--enable-dio' '--enable-inline-optimization' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--with-config-file-path=/etc/php/apache2-php4'

Questo è tutto...
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