Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mod_php
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
abissiblu
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2003
Posts: 75

PostPosted: Wed Sep 01, 2004 3:32 pm    Post subject: mod_php Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Wed Sep 01, 2004 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
_sys/sid
Guru
Guru


Joined: 27 Aug 2004
Posts: 346
Location: Asola (Mantova)

PostPosted: Wed Sep 01, 2004 4:33 pm    Post subject: Reply with quote

Se punti ad una pagina inesistente
Es: http://localhost/paginainestistente.html
apache ti da' il messaggio di errore e in fondo ti dice quello che usa php, python,, ruby, mono ecc. Che poi sono quelli che hai settato in /etc/conf.d
_________________
http://th30z.netsons.org/
Back to top
View user's profile Send private message
abissiblu
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2003
Posts: 75

PostPosted: Thu Sep 02, 2004 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
abissiblu
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2003
Posts: 75

PostPosted: Thu Sep 02, 2004 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Thu Sep 02, 2004 7:24 am    Post subject: Reply with quote

Prima vedi quali hai con
Code:
$ qpkg -I -v | grep mod_php

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
abissiblu
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2003
Posts: 75

PostPosted: Thu Sep 02, 2004 9:15 am    Post subject: Reply with quote

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
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