View previous topic :: View next topic |
Author |
Message |
abissiblu Tux's lil' helper
Joined: 14 Oct 2003 Posts: 75
|
Posted: Wed Sep 01, 2004 3:32 pm Post subject: mod_php |
|
|
salve non riesco a far funzionare mod_php, come faccio a sapere se il modulo è stato caricato all'avvio di apache?
inutile dire che ho seguito tutti i passi riportati nelle varie guide! |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31467 Location: here
|
Posted: Wed Sep 01, 2004 3:54 pm Post subject: |
|
|
Fai una prova con un piccolo codice php. Comunque basta editare il file /etc/conf.d/apache2 e aggiungere (o scommentare) la linea
Code: | APACHE2_OPTS="-D PHP4" |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
_sys/sid Guru
Joined: 27 Aug 2004 Posts: 346 Location: Asola (Mantova)
|
|
Back to top |
|
|
abissiblu Tux's lil' helper
Joined: 14 Oct 2003 Posts: 75
|
Posted: Thu Sep 02, 2004 7:18 am Post subject: |
|
|
grazie ad entrambi ma apache.conf è a posto e nei messaggi di errore non mi compare niente quando richiedo una pagina inesistente.
ciao cercherò ancora, la cosa mi succede su pc con gentoo! |
|
Back to top |
|
|
abissiblu Tux's lil' helper
Joined: 14 Oct 2003 Posts: 75
|
Posted: Thu Sep 02, 2004 7:22 am Post subject: |
|
|
Code: | localhost root # ebuild /var/db/pkg/dev-php/mod_php-4.3.8/mod_php-4.3.8.ebuild config
* Due to some previous bloopers with PHP and slotting, you may have
* multiple instances of mod_php installed. Please look at the autoclean
* output at the end of the emerge and unmerge all but relevant
* instances.
* Edit /etc/conf.d/apache2 and add "-D PHP4" to APACHE2_OPTS
* This is a CHANGE from previous behavior, which was "-D PHP"
* This is for the upcoming PHP5 support. The ebuild will attempt
* to make this update between PHP and PHP4 automatically
|
l'output di ebuild mi sembra accennare alla presenza di piu versioni di mod_php se cosi come faccio ad eliminarle? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31467 Location: here
|
Posted: Thu Sep 02, 2004 7:24 am Post subject: |
|
|
Prima vedi quali hai con
Code: | $ qpkg -I -v | grep mod_php |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
abissiblu Tux's lil' helper
Joined: 14 Oct 2003 Posts: 75
|
Posted: Thu Sep 02, 2004 9:15 am Post subject: |
|
|
fedeliallalinea wrote: | Prima vedi quali hai con
Code: | $ qpkg -I -v | grep mod_php |
|
credo solo uno ecco l'output
Code: |
# qpkg -I -v | grep mod_php
dev-php/mod_php-4.3.8 *
|
|
|
Back to top |
|
|
|