View previous topic :: View next topic |
Author |
Message |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Mon May 10, 2004 6:06 pm Post subject: [FAQ] emergere PHP con imap odbc gd ecc....[RISOLTO] |
|
|
Ho emerso PHP , la schermata di in php con la funzione infophp() , nel riquadro "Configure Command" vedo scritto:
'--without-gd' '--without-unixODBC' '--without-imap' ecc....
Quindi i vari inap odbc ecc.. ci sono o no ? e se no posso emergerli cosi:
Code: |
USE="odbc imap gd" emerge php
|
poi dove posso vedere quali moduli sono installati/attivi o no ?
Gyrus
Last edited by Gyrus on Tue May 11, 2004 9:26 am; edited 1 time in total |
|
Back to top |
|
 |
MyZelF Bodhisattva


Joined: 25 Feb 2003 Posts: 2010 Location: Venice, Italy
|
Posted: Mon May 10, 2004 8:24 pm Post subject: |
|
|
Puoi controllare le USE flags relative ad un pacchetto con un
Code: | # emerge -vp pacchetto |
_________________ "Larry the Cow was a bit frustrated at the current state of Linux Distributions..." |
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Mon May 10, 2004 9:35 pm Post subject: |
|
|
MyZelF wrote: | Puoi controllare le USE flags relative ad un pacchetto con un
Code: | # emerge -vp pacchetto |
|
veramente utile ....
nel frattempo ho anche trovato etcat , che fa parte del pacchetto gentoolkit,
e con
oltre ai flag USE disponibili settati e non, mostra anche una descrizione del flag.
Grande Gentoo ... |
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Tue May 11, 2004 12:02 am Post subject: |
|
|
Ho fatto :
Code: |
USE="odbc imap gd" emerge php
|
ma non trovo le estensioni da aggiungere al php.ini , dove le mette ? |
|
Back to top |
|
 |
Gyrus Apprentice


Joined: 02 May 2004 Posts: 273 Location: Italy-Arezzo
|
Posted: Tue May 11, 2004 9:25 am Post subject: |
|
|
Ho risolto ....
Per abilitare in PHP , imap odbc gd ecc... , in generale tutte le opzioni che non sono nella
compilazione di default , si deve emergere php con:
Code: |
USE="odbc imap gd" emerge php
|
Poi pero (quello che io non facevo) si deve fare la stessa cosa con mod_php:
Code: |
USE="odbc imap gd" emerge mod_php
|
riavvio di Apache:
Code: | /etc/init.d/apache2 restart |
e come per magia la pagina phpinfo() ha adesso abilitato il tutto.
Grande Gentoo. |
|
Back to top |
|
 |
|